:root {
  --ink: #181818;
  --soft-ink: #3c3a36;
  --muted: #706b62;
  --line: rgba(24, 24, 24, 0.13);
  --paper: #f6f3ed;
  --white: #ffffff;
  --charcoal: #20201f;
  --orange: #df8616;
  --gold: #bc9252;
  --bronze: #8a5d3d;
  --shadow: 0 18px 45px rgba(16, 15, 13, 0.14);
}

* {
  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.55;
}

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

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

p,
h1,
h2,
h3,
h4 {
  overflow-wrap: anywhere;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
}

h1 {
  max-width: 940px;
  font-size: clamp(46px, 7vw, 88px);
}

h2 {
  font-size: clamp(30px, 4vw, 56px);
}

h3 {
  font-size: 24px;
}

h4 {
  margin-bottom: 8px;
  font-size: 18px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 380px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  background: rgba(20, 19, 17, 0.74);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  width: 380px;
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.brand img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 34px);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.nav a:hover,
.contact a:hover {
  color: var(--orange);
}

.header-contact,
.button,
.quote-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 700;
}

.header-contact,
.button.primary,
.quote-form button {
  color: var(--white);
  background: var(--orange);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.42) 48%, rgba(0, 0, 0, 0.15)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.62));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 150px 0 70px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-content > p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 0 clamp(18px, 4vw, 54px);
  background: var(--charcoal);
}

.quick-links a {
  display: grid;
  gap: 8px;
  padding: 28px;
  color: var(--white);
  background: #292826;
}

.quick-links span {
  color: var(--orange);
  font-weight: 800;
}

.quick-links small {
  color: rgba(255, 255, 255, 0.68);
}

.section {
  padding: clamp(70px, 9vw, 120px) clamp(18px, 4vw, 54px);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: start;
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

.company-media {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 16px;
}

.company-media figure {
  position: relative;
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #222;
}

.company-media figure:nth-child(2) {
  margin-top: 52px;
}

.company-media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.company-media figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.58);
  font-size: 12px;
  font-weight: 800;
}

.section-title {
  max-width: 760px;
}

.section-title.centered {
  max-width: 880px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-title p:not(.eyebrow),
.body-copy,
.gallery-grid p,
.option-grid span,
.application-grid p,
.warehouse-placeholder p,
.process li span,
.seo-grid p,
.contact p {
  color: var(--muted);
}

.body-copy p {
  font-size: 17px;
}

.option-summary {
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3eee6;
  color: var(--soft-ink);
}

.option-summary.compact {
  max-width: 860px;
}

.option-summary p {
  margin: 0;
  font-size: 15px;
}

.option-summary p + p {
  margin-top: 8px;
}

.fact-grid,
.option-grid,
.seo-grid,
.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.fact-grid span,
.option-grid article,
.placeholder-grid span,
.seo-grid article,
.gallery-grid article {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
}

.fact-grid span,
.placeholder-grid span {
  padding: 16px;
  font-weight: 700;
}

.product-block {
  background: var(--white);
}

.category-rail {
  display: flex;
  gap: 10px;
  max-width: 1180px;
  margin: 0 auto 16px;
  padding: 8px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f2eee6;
}

.category-rail a {
  flex: 0 0 auto;
  min-width: 132px;
  padding: 12px 14px;
  border-radius: 5px;
  color: var(--soft-ink);
  background: var(--white);
  font-weight: 800;
  text-align: center;
}

.category-rail a:hover {
  color: var(--white);
  background: var(--orange);
}

.color-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 980px;
  margin: 0 auto 32px;
}

.color-strip span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 700;
}

.color-strip span::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  background: var(--swatch);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.gallery-grid article {
  scroll-margin-top: 110px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 34px rgba(18, 17, 15, 0.08);
}

.gallery-grid img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.sample-gallery img,
.screen-product-gallery img {
  object-fit: contain;
  background: #e7e3dc;
}

.space-gallery img,
.screen-space-gallery img {
  height: 320px;
}

.gallery-grid article:hover img {
  transform: scale(1.035);
}

.gallery-grid h3,
.gallery-grid p {
  padding-inline: 18px;
}

.gallery-grid h3 {
  margin: 18px 0 10px;
  font-size: 21px;
}

.gallery-grid p {
  min-height: 70px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
}

.screen-space-block,
.sheet-space-block {
  background: #f7f4ee;
}

.marquee-gallery {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  overflow: hidden;
  padding: 8px 0;
}

.marquee-gallery::before,
.marquee-gallery::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 80px;
  pointer-events: none;
}

.marquee-gallery::before {
  left: 0;
  background: linear-gradient(90deg, var(--white), rgba(255, 255, 255, 0));
}

.marquee-gallery::after {
  right: 0;
  background: linear-gradient(270deg, var(--white), rgba(255, 255, 255, 0));
}

.screen-block .marquee-gallery::before {
  background: linear-gradient(90deg, #efebe3, rgba(239, 235, 227, 0));
}

.screen-block .marquee-gallery::after {
  background: linear-gradient(270deg, #efebe3, rgba(239, 235, 227, 0));
}

.marquee-track {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 220px);
  grid-auto-columns: 210px;
  gap: 14px;
  width: max-content;
  animation: marquee-left 62s linear infinite;
}

.marquee-track.reverse {
  grid-template-rows: repeat(2, 250px);
  grid-auto-columns: 210px;
  animation-name: marquee-right;
  animation-duration: 58s;
}

.marquee-gallery:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(18, 17, 15, 0.08);
}

.marquee-track img {
  width: 100%;
  height: calc(100% - 45px);
  object-fit: contain;
  background: #e7e3dc;
}

.marquee-track h3 {
  margin: 0;
  padding: 11px 12px;
  font-size: 16px;
  line-height: 1;
}

@keyframes marquee-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}


.screen-block {
  background: #efebe3;
}

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

.option-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--white);
}

.option-grid strong {
  color: var(--bronze);
}

.applications {
  background: var(--charcoal);
  color: var(--white);
}

.applications .section-title p:not(.eyebrow),
.applications .application-grid p {
  color: rgba(255, 255, 255, 0.72);
}

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

.application-grid article {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 8px;
}

.application-grid img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.application-grid div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.86));
}

.warehouse-placeholder {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  background: #e9e4da;
}

.placeholder-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: 280px;
}

.placeholder-grid span {
  display: grid;
  place-items: center;
  min-height: 132px;
  color: var(--soft-ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.12)),
    repeating-linear-gradient(45deg, rgba(24, 24, 24, 0.06) 0 1px, transparent 1px 12px);
}

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

.factory-grid article {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 8px;
  background: #222;
  box-shadow: 0 12px 28px rgba(18, 17, 15, 0.12);
}

.factory-grid img {
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.factory-grid article:hover img {
  transform: scale(1.035);
}

.factory-grid h3 {
  position: absolute;
  left: 14px;
  bottom: 14px;
  margin: 0;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.62);
  font-size: 14px;
}

.process {
  background: var(--white);
}

.process ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 1px;
  list-style: none;
  background: var(--line);
}

.process li {
  display: grid;
  gap: 12px;
  padding: 24px;
  background: var(--white);
}

.process strong {
  font-size: 20px;
}

.seo {
  background: var(--paper);
}

.seo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-grid article {
  padding: 24px;
  background: rgba(255, 255, 255, 0.78);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 6vw, 84px);
  padding: clamp(74px, 9vw, 124px) clamp(18px, 4vw, 54px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.62)),
    url("assets/images/screen-room-divider.jpg") center / cover;
}

.contact p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.quote-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 4px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.28);
  font: inherit;
}

.quote-form option {
  color: var(--ink);
}

.quote-form textarea {
  resize: vertical;
}

.quote-form button {
  border: 0;
  cursor: pointer;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 26px;
  padding: 26px clamp(18px, 4vw, 54px);
  color: rgba(255, 255, 255, 0.72);
  background: #11100f;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 300px 1fr auto;
  }

  .brand {
    width: 300px;
  }

  .nav {
    gap: 14px;
  }

  .split,
  .company-layout,
  .warehouse-placeholder,
  .contact {
    grid-template-columns: 1fr;
  }

  .company-media {
    grid-template-columns: 1fr 1fr;
  }

  .fact-grid,
  .option-grid,
  .process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr auto;
  }

  .brand {
    width: 205px;
  }

  .nav {
    display: none;
  }

  .quick-links,
  .gallery-grid,
  .application-grid,
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .company-media {
    grid-template-columns: 1fr;
  }

  .company-media figure,
  .company-media img {
    min-height: 310px;
  }

  .company-media figure:nth-child(2) {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 1fr;
    padding: 12px 14px;
  }

  .brand {
    width: 250px;
    padding: 6px 8px;
  }

  .brand img {
    height: 54px;
  }

  .header-contact {
    display: none;
  }

  .hero {
    min-height: 88vh;
  }

  .hero-content {
    width: calc(100% - 32px);
    max-width: 342px;
    margin-left: 16px;
    margin-right: auto;
    padding: 116px 0 42px;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 30px;
  }

  .hero-content > p:not(.eyebrow) {
    font-size: 16px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 280px;
  }

  .button {
    width: 100%;
  }

  .quick-links {
    padding-inline: 0;
  }

  .fact-grid,
  .option-grid,
  .factory-grid,
  .placeholder-grid,
  .process ol {
    grid-template-columns: 1fr;
  }

  .gallery-grid img,
  .space-gallery img,
  .screen-space-gallery img {
    height: 240px;
  }

  .marquee-gallery::before,
  .marquee-gallery::after {
    width: 34px;
  }

  .marquee-track {
    grid-template-rows: repeat(2, 190px);
    grid-auto-columns: 178px;
    animation-duration: 48s;
  }

  .marquee-track.reverse {
    grid-template-rows: repeat(2, 220px);
    grid-auto-columns: 178px;
    animation-duration: 46s;
  }

  .application-grid article,
  .application-grid img {
    min-height: 390px;
  }
}
