:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --surface: #ffffff;
  --ink: #121416;
  --muted: #5c6268;
  --line: #dfe4e0;
  --teal: #0b6f69;
  --teal-dark: #084b47;
  --red: #b8232f;
  --gold: #bd8a38;
  --soft: #eef3ef;
  --shadow: 0 18px 50px rgba(18, 20, 22, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 5vw, 56px);
  background: rgba(246, 247, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 150px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 800;
  font-size: 20px;
}

.brand-name {
  font-size: 22px;
  font-weight: 800;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover,
.footer-links a:hover {
  color: var(--teal);
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-action,
.button-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
  border-color: var(--line);
}

.button-primary {
  color: #fff;
  background: var(--teal);
}

.button:hover,
.header-action:hover {
  transform: translateY(-1px);
}

.button-primary:hover {
  background: var(--teal-dark);
}

.button-secondary:hover,
.header-action:hover {
  border-color: var(--teal);
}

.hero {
  position: relative;
  min-height: min(760px, 74vh);
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18, 20, 22, 0.88), rgba(18, 20, 22, 0.44), rgba(18, 20, 22, 0.18));
}

.hero-content {
  position: relative;
  width: min(860px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 96px);
  padding: 84px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.signal-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.signal {
  min-height: 122px;
  padding: 28px clamp(18px, 4vw, 54px);
  border-right: 1px solid var(--line);
}

.signal:last-child {
  border-right: 0;
}

.signal strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.signal span {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 56px);
}

.section-muted {
  background: var(--soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2,
.factory-copy h2,
.inquiry-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.section-heading p,
.factory-copy p,
.inquiry-copy p {
  color: var(--muted);
  font-size: 17px;
}

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

.product-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.product-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  background: #e7ebe7;
}

.product-card .image-bottom {
  object-position: center bottom;
}

.product-card .image-top {
  object-position: center top;
}

.product-card .image-window-tint {
  object-position: 55% center;
}

.product-card .image-architectural {
  object-position: center center;
}

.product-card-body {
  padding: 24px;
}

.product-card h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.product-card p {
  color: var(--muted);
}

.product-card ul {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--ink);
}

.product-card li + li {
  margin-top: 8px;
}

.factory-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(26px, 6vw, 72px);
}

.capability-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.capability-list div {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.capability-list strong,
.capability-list span {
  display: block;
}

.capability-list span {
  margin-top: 4px;
  color: var(--muted);
}

.factory-media {
  display: grid;
  gap: 14px;
}

.factory-media img,
.factory-media video {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #dfe4e0;
  box-shadow: var(--shadow);
}

.factory-media img {
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.factory-media .factory-right-image {
  object-fit: contain;
  padding: 12px;
  background: #fff;
}

.factory-media video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.markets {
  background: var(--ink);
  color: #fff;
}

.markets .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

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

.market-item {
  min-height: 84px;
  display: flex;
  align-items: center;
  padding: 18px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
}

.gallery-section {
  background: var(--surface);
}

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

.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-grid figcaption {
  min-height: 54px;
  padding: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

.video-grid video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
  background: var(--surface);
}

.inquiry-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #cbd3ce;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(11, 111, 105, 0.24);
  border-color: var(--teal);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 56px);
  background: var(--ink);
  color: #fff;
}

.site-footer span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .signal-band,
  .product-grid,
  .market-grid,
  .gallery-grid,
  .video-grid,
  .factory-layout,
  .inquiry-section {
    grid-template-columns: 1fr;
  }

  .signal {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .signal:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    min-height: 64px;
  }

  .brand {
    min-width: 0;
  }

  .brand-name {
    font-size: 19px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 12px;
  }

  .hero {
    min-height: 680px;
  }

  .hero-overlay {
    background: linear-gradient(180deg, rgba(18, 20, 22, 0.86), rgba(18, 20, 22, 0.66), rgba(18, 20, 22, 0.38));
  }

  .hero-content {
    margin: 0;
    width: 100%;
    padding: 58px 18px;
  }

  .button {
    width: 100%;
  }

  .product-card img {
    height: 230px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

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