:root {
  --ink: #263632;
  --muted: #5e6a65;
  --paper: #ffffff;
  --white: #ffffff;
  --line: #dce4df;
  --brand: #b72b31;
  --brand-dark: #8f2027;
  --sage: #f3f5f5;
  --gold: #c89127;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header,
.page-content,
.site-footer {
  width: calc(100% - 40px);
  max-width: 1240px;
  margin: 0 auto;
}

.site-header {
  background: var(--white);
}

.header-main {
  display: flex;
  min-height: 96px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  flex: 0 1 230px;
  min-width: 150px;
}

.brand img {
  display: block;
  width: 100%;
  max-width: 230px;
  height: auto;
}

.phone {
  display: grid;
  gap: 2px;
  margin-left: auto;
  color: var(--ink);
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.phone span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.nav-toggle {
  display: none;
  cursor: pointer;
}

.menu-icon {
  display: grid;
  width: 18px;
  gap: 4px;
}

.menu-icon i {
  display: block;
  height: 2px;
  background: currentColor;
}

.main-nav {
  padding: 0 12px;
  background: var(--ink);
}

.main-nav > ul {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav li {
  position: relative;
  min-width: 0;
  list-style: none;
}

.main-nav a {
  display: block;
  padding: 13px 10px;
  color: var(--white);
  font-size: 14px;
  line-height: 1.35;
  text-decoration: none;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a:focus-visible {
  background: var(--brand);
}

.main-nav ul ul {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  display: none;
  width: 270px;
  margin: 0;
  padding: 6px 0;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(38, 54, 50, 0.14);
}

.main-nav li:hover > ul,
.main-nav li:focus-within > ul {
  display: block;
}

.main-nav ul ul a {
  padding: 8px 14px;
  color: var(--ink);
  font-size: 13px;
}

.main-nav ul ul a:hover,
.main-nav ul ul a:focus-visible {
  background: var(--sage);
  color: var(--brand-dark);
}

.page-content {
  padding: 22px 0 34px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: center;
  gap: 28px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.hero-copy {
  max-width: 620px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1 {
  max-width: 660px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.18;
}

.route-page {
  padding-top: 22px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
}

.breadcrumbs a {
  color: var(--brand-dark);
}

.route-hero {
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 28px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}

.route-image {
  display: flex;
  min-height: 240px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--sage);
}

.route-image img {
  display: block;
  width: 100%;
  max-width: 380px;
  max-height: 280px;
  object-fit: contain;
}

.route-copy h1 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.2;
}

.route-copy .lead {
  margin-bottom: 18px;
}

.route-details {
  max-width: 820px;
  padding: 28px 0 14px;
}

.route-details h2,
.route-related h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.3;
}

.route-details p {
  color: var(--muted);
}

.route-article {
  max-width: 880px;
  padding: 20px 0 4px;
  border-top: 1px solid var(--line);
}

.route-article h2 {
  margin-bottom: 9px;
  font-size: 21px;
  line-height: 1.3;
}

.route-article p,
.route-article li {
  color: var(--muted);
}

.route-article ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0 0 12px;
  padding-left: 18px;
}

.route-article a {
  color: var(--brand-dark);
}

.download-section {
  max-width: 820px;
  margin: 22px 0 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
}

.download-section h2 {
  margin-bottom: 8px;
  font-size: 20px;
}

.download-section p {
  margin-bottom: 14px;
  color: var(--muted);
}

.color-card-section {
  margin-top: 30px;
}

.color-card-note {
  max-width: 760px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 14px;
}

.color-card-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.color-card-item {
  min-width: 0;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
}

.color-card-open,
.color-card-item img {
  display: block;
  width: 100%;
}

.color-card-open {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.color-card-item img {
  height: auto;
  object-fit: contain;
}

/* Keep the wide five-spool photograph proportional in every placement. */
img[src*="luminous-color-card"],
img[src*="luminous-original"] {
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  aspect-ratio: 1000 / 360;
  margin-inline: auto;
}

.color-card-item img[src*="luminous-color-card"] {
  max-width: min(100%, 500px);
}

.color-card-item figcaption {
  padding-top: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.image-viewer {
  width: min(1100px, calc(100% - 24px));
  max-width: none;
  max-height: calc(100% - 24px);
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
}

.image-viewer::backdrop {
  background: rgba(14, 22, 19, 0.84);
}

.image-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.image-viewer-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.image-viewer-close {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.image-viewer-image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 105px);
  margin: 0 auto;
  object-fit: contain;
}

.route-related {
  padding: 16px 0 24px;
  border-top: 1px solid var(--line);
}

.route-related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-related a {
  color: var(--brand-dark);
  font-size: 14px;
}

.lead {
  max-width: 580px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.button.primary {
  background: var(--brand);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--brand-dark);
}

.button.secondary {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

.button.secondary:hover,
.button.secondary:focus-visible {
  border-color: var(--ink);
  background: var(--sage);
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  list-style: none;
}

.benefits li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 8px 1px 0;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero-image {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
  border-radius: 4px;
  background: var(--sage);
}

.hero-image img {
  display: block;
  width: 100%;
  max-width: 360px;
  height: auto;
}

.image-caption {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(38, 54, 50, 0.16);
}

.image-caption strong {
  color: var(--brand);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 32px;
  line-height: 1.15;
}

.image-caption span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.catalog-section {
  margin-top: 30px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-heading .eyebrow {
  margin-bottom: 4px;
}

.section-heading h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.text-link,
.card-link {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover,
.card-link:hover {
  text-decoration: underline;
}

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

.category-card {
  display: grid;
  grid-template-rows: 170px 1fr;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
}

.category-card:hover,
.category-card:focus-visible {
  border-color: #a5b8ad;
  box-shadow: 0 5px 16px rgba(38, 54, 50, 0.08);
}

.category-image {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10px;
  background: #edf2ee;
}

.category-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.category-copy {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  padding: 14px;
}

.category-copy strong {
  font-size: 17px;
  line-height: 1.3;
}

.category-copy > span:not(.card-link) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.card-link {
  margin-top: 4px;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 18px 0 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-links a {
  color: var(--ink);
  font-size: 13px;
  text-decoration-color: #a9b6af;
  text-underline-offset: 3px;
}

.quick-links a:hover {
  color: var(--brand-dark);
}

.request-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  margin: 28px 0 10px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.request-intro h2 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.25;
}

.request-intro p:not(.eyebrow) {
  color: var(--muted);
}

.request-intro > a {
  color: var(--brand-dark);
  font-weight: 700;
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  min-width: 0;
}

.form-field {
  display: grid;
  align-content: start;
  gap: 6px;
  min-width: 0;
}

.form-field label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field select,
.form-field textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 44px;
  padding: 9px 10px;
  border: 1px solid #c8d4cd;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 88px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid rgba(183, 43, 49, 0.2);
  border-color: var(--brand);
}

.form-field-wide,
.form-submit {
  grid-column: 1 / -1;
}

.form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}

.form-submit .button {
  cursor: pointer;
}

.form-privacy,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.form-status:not(:empty) {
  flex: 1 0 100%;
  color: var(--brand-dark);
}

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.site-footer div {
  display: grid;
  gap: 3px;
  text-align: right;
}

.site-footer a {
  color: var(--ink);
  font-weight: 700;
}

.footer-brand {
  color: var(--brand) !important;
  font-size: 18px;
}

@media (max-width: 880px) {
  .site-header,
  .page-content,
  .site-footer {
    width: calc(100% - 32px);
  }

  .header-main {
    min-height: 82px;
  }

  .request-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .route-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 18px;
    padding: 18px;
  }

  .color-card-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    padding: 4px 12px 10px;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav > ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 0 12px;
  }

  .main-nav > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .main-nav ul ul {
    position: static;
    display: grid;
    width: auto;
    padding: 0 0 8px 8px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .main-nav ul ul a {
    padding: 6px 8px;
    color: #e5ece8;
    font-size: 12px;
  }
}

@media (max-width: 640px) {
  .site-header,
  .page-content,
  .site-footer {
    width: calc(100% - 24px);
  }

  .header-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 12px;
    padding: 10px 8px;
  }

  .brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: 155px;
  }

  .phone {
    grid-column: 1;
    grid-row: 2;
    margin: 0;
    font-size: 15px;
  }

  .phone span {
    display: none;
  }

  .header-actions {
    grid-column: 2;
    grid-row: 1 / span 2;
    gap: 6px;
  }

  .nav-toggle {
    min-height: 42px;
    padding: 0 9px;
  }

  .header-request {
    min-height: 42px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }

  .route-page {
    padding-top: 14px;
  }

  .route-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .route-image {
    min-height: 0;
    max-height: 190px;
    padding: 10px;
  }

  .route-image img {
    max-height: 165px;
  }

  .route-copy h1 {
    margin-bottom: 10px;
    font-size: 24px;
  }

  .route-details {
    padding-top: 20px;
  }

  .hero-image {
    order: -1;
    min-height: 0;
    padding: 8px 12px;
  }

  .hero-image img {
    max-height: 155px;
    object-fit: contain;
  }

  h1 {
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1.2;
  }

  .lead {
    margin-bottom: 14px;
    font-size: 14px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .button {
    min-width: 0;
    padding: 9px 8px;
    font-size: 13px;
  }

  .benefits {
    display: grid;
    gap: 5px;
    margin-top: 13px;
  }

  .catalog-section {
    margin-top: 22px;
  }

  .section-heading {
    align-items: start;
  }

  .section-heading h2 {
    font-size: 20px;
  }

  .text-link {
    max-width: 125px;
    text-align: right;
  }

  .category-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .category-card {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: minmax(126px, auto);
  }

  .category-copy {
    gap: 5px;
    padding: 10px;
  }

  .category-copy strong {
    font-size: 15px;
  }

  .category-copy > span:not(.card-link) {
    font-size: 12px;
  }

  .quick-links {
    gap: 10px 16px;
  }

  .main-nav > ul {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-footer {
    align-items: start;
    flex-direction: column;
  }

  .site-footer div {
    text-align: left;
  }

  .request-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 20px;
    padding: 20px 0;
  }

  .request-intro h2 {
    font-size: 20px;
  }

  .request-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .form-field-wide,
  .form-submit {
    grid-column: auto;
  }

  .form-submit .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

.spec-scroll { max-width: 100%; overflow-x: auto; margin: 20px 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; text-align: left; }
.spec-table th, .spec-table td { padding: 14px 16px; border-bottom: 1px solid #dbe1df; vertical-align: top; }
.spec-table th { background: #f0f4f2; color: #243d33; }
.spec-table td { min-width: 120px; }
.material-photo { margin: 24px 0; max-width: 850px; }
.material-photo img { display: block; width: 100%; max-height: 420px; object-fit: contain; object-position: left center; }
.material-photo figcaption { margin-top: 12px; color: #58635f; font-size: 14px; line-height: 1.6; }
.contacts-intro { max-width: 780px; margin: 28px 0; }
.contact-offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding: 20px 0 36px; border-bottom: 1px solid #dbe1df; }
.contact-office { min-width: 0; line-height: 1.7; }
.contact-office h2 { font-size: 26px; }
.contact-office address { font-style: normal; }
.contact-links { list-style: none; padding: 0; display: grid; gap: 7px; }
.contact-links a { color: #245b45; overflow-wrap: anywhere; }
.contact-map { padding: 28px 0; }
.contact-directions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; margin-bottom: 24px; }
.contact-directions h3 { margin: 0 0 8px; }
.embedded-map summary { cursor: pointer; padding: 12px 0; color: var(--brand-dark); }
.contact-map iframe { width: 100%; height: 400px; border: 1px solid #dbe1df; display: block; }
@media (max-width: 640px) {
  .contact-offices { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .contact-office h2 { font-size: 22px; }
  .spec-table { font-size: 13px; }
  .spec-table th, .spec-table td { padding: 10px; }
  .contact-map iframe { height: 320px; }
}
