:root {
  --black: #050505;
  --ink: #111111;
  --accent: #ffd345;
  --line: #393939;
  --footer: #2f2f2f;
  --page-width: 1200px;
  --font-sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial,
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #ffffff;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

main {
  position: relative;
  overflow: hidden;
}

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

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

.section-shell,
.header-inner,
.footer-inner {
  width: min(var(--page-width), calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  height: 100px;
  color: #ffffff;
  background: var(--black);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  flex: 0 0 auto;
}

.brand img {
  width: 139px;
  height: auto;
}

.brand span {
  padding-left: 10px;
  border-left: 1px solid #ffffff;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  width: 516px;
  height: 100%;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 64px;
  width: 64px;
  height: 100%;
  transition:
    color 180ms ease,
    opacity 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 25px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--accent);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 10px 8px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: #ffffff;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 488px 590px;
  column-gap: 122px;
  align-items: start;
  padding-top: 96px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  width: 488px;
  height: 488px;
  border-radius: 10px;
  background: #252c35;
}

.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.hero-base {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 7px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.4;
}

.hero h1 {
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
}

.model {
  margin: 0 0 34px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
}

.description {
  margin: 0;
  width: 590px;
  max-width: 100%;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.45;
  text-align: justify;
}

.custom-service {
  margin-top: 61px;
  padding-top: 35px;
  border-top: 1px solid var(--line);
}

.custom-service h2 {
  margin: 0 0 23px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.watermark {
  position: absolute;
  z-index: 0;
  top: 650px;
  left: -49px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 592px;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}

.watermark img {
  width: 592px;
  height: 140px;
  max-width: none;
  object-fit: cover;
  opacity: 0.05;
  transform: rotate(90deg);
}

.product-section {
  position: relative;
  z-index: 1;
  margin-top: 58px;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.section-heading img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.section-heading h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
}

.parameter-download {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: auto;
}

.parameter-download img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.parameter-card {
  display: grid;
  grid-template-columns: 781px 419px;
  height: 438px;
  border: 1px solid #343434;
  background: #ffffff;
}

.table-image-wrap {
  overflow: hidden;
  width: 781px;
  height: 438px;
}

.table-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.dimension-visual {
  position: relative;
  overflow: hidden;
  width: 419px;
  height: 438px;
  background: #ffffff;
}

.dimension-product {
  position: absolute;
  top: 58px;
  left: 63px;
  overflow: hidden;
  width: 337px;
  height: 324px;
}

.dimension-product img {
  position: absolute;
  top: -25.53%;
  left: -79.71%;
  width: 229.7%;
  height: 159.16%;
  max-width: none;
}

.dimension-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
}

.installation-section {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding-bottom: 100px;
}

.installation-section .section-heading {
  margin-bottom: 6px;
}

.drawing-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 483px;
  background: #ffffff;
}

.installation-bg,
.installation-frame {
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.installation-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.installation-frame {
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-footer {
  width: 100%;
  height: 110px;
  color: #ffffff;
  background: var(--footer);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
}

.footer-brand img {
  width: 115px;
}

.footer-brand span {
  padding-left: 8px;
  border-left: 1px solid #ffffff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.social-links img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 1270px) {
  .hero {
    grid-template-columns: minmax(390px, 488px) minmax(0, 590px);
    column-gap: clamp(44px, 6vw, 92px);
  }

  .hero-visual {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
  }

  .parameter-card {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.536fr);
    height: auto;
    min-height: 438px;
  }

  .table-image-wrap,
  .dimension-visual {
    width: 100%;
    height: auto;
    min-height: 438px;
  }

  .table-image-wrap img {
    object-fit: cover;
    object-position: left center;
  }

  .dimension-product {
    top: 50%;
    left: 50%;
    width: min(337px, 80%);
    height: min(324px, 74%);
    transform: translate(-50%, -50%);
  }

  .drawing-frame {
    height: auto;
    aspect-ratio: 1200 / 483;
  }
}

@media (max-width: 1080px) {
  .site-header {
    height: 82px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 126px;
  }

  .brand span {
    padding-left: 8px;
    font-size: 19px;
  }

  .site-nav {
    width: 396px;
    font-size: 15px;
  }

  .site-nav a {
    flex-basis: 60px;
    width: 60px;
  }

  .hero {
    grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1fr);
    column-gap: 52px;
    padding-top: 72px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .model {
    margin-bottom: 26px;
    font-size: 29px;
  }

  .description,
  .service-grid {
    font-size: 17px;
  }

  .custom-service {
    margin-top: 38px;
  }
}

@media (max-width: 820px) {
  .section-shell,
  .header-inner,
  .footer-inner {
    width: min(100% - 36px, 680px);
  }

  .site-header {
    height: 72px;
  }

  .brand {
    gap: 7px;
  }

  .brand img {
    width: 116px;
  }

  .brand span {
    padding-left: 7px;
    font-size: 16px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    width: auto;
    height: auto;
    padding: 10px 18px 18px;
    border-top: 1px solid #2b2b2b;
    background: rgba(5, 5, 5, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    flex-basis: auto;
    width: auto;
    height: 52px;
    border-bottom: 1px solid #262626;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    row-gap: 38px;
    padding-top: 42px;
  }

  .hero-visual {
    width: min(100%, 540px);
    margin-inline: auto;
  }

  .eyebrow {
    font-size: 19px;
  }

  .hero h1 {
    font-size: clamp(29px, 7vw, 36px);
  }

  .model {
    margin-bottom: 24px;
    font-size: 28px;
  }

  .description {
    width: auto;
    font-size: 17px;
    line-height: 1.75;
  }

  .custom-service {
    margin-top: 28px;
    padding-top: 24px;
  }

  .custom-service h2 {
    margin-bottom: 18px;
    font-size: 21px;
  }

  .service-grid {
    gap: 10px 20px;
    font-size: 16px;
  }

  .watermark {
    display: none;
  }

  .product-section {
    margin-top: 68px;
  }

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

  .parameter-download img {
    height: 32px;
  }

  .parameter-card {
    grid-template-columns: 1fr;
    height: auto;
  }

  .table-image-wrap {
    aspect-ratio: 781 / 438;
    min-height: 0;
  }

  .table-image-wrap img {
    object-fit: contain;
  }

  .dimension-visual {
    aspect-ratio: 419 / 438;
    min-height: 390px;
    border-top: 1px solid #343434;
  }

  .installation-section {
    margin-top: 56px;
    padding-bottom: 70px;
  }

  .installation-section .section-heading {
    margin-bottom: 16px;
  }

  .drawing-frame {
    height: auto;
    aspect-ratio: 1200 / 483;
  }
}

@media (max-width: 620px) {
  .section-shell,
  .header-inner,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .hero {
    padding-top: 28px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .parameter-card {
    border-color: #d4d9d9;
  }

  .table-image-wrap {
    overflow-x: auto;
    aspect-ratio: auto;
    height: auto;
  }

  .table-image-wrap img {
    width: 781px;
    max-width: none;
    height: 438px;
  }

  .dimension-visual {
    min-height: 300px;
  }

  .dimension-product {
    width: min(337px, 78%);
    height: min(324px, 74%);
  }

  .site-footer {
    height: 136px;
  }

  .footer-inner {
    flex-direction: column;
    justify-content: center;
    gap: 20px;
  }

  .footer-brand {
    width: auto;
  }

  .footer-brand img {
    width: 112px;
  }

  .footer-brand span {
    font-size: 14px;
  }
}

.hero-visual img.uploaded-image,
.table-image-wrap img.uploaded-image,
.dimension-product img.uploaded-image,
.drawing-frame img.uploaded-image,
.parameter-image-frame img.uploaded-image {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.parameter-image-frame {
  overflow: hidden;
  width: 100%;
  height: 438px;
  background: #ffffff;
}

.parameter-image-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

@media (max-width: 1280px) {
  .parameter-image-frame {
    height: auto;
    aspect-ratio: 1200 / 438;
  }
}

@media (max-width: 720px) {
  .parameter-image-frame {
    overflow-x: auto;
    aspect-ratio: auto;
    height: auto;
  }

  .parameter-image-frame img {
    width: 900px;
    max-width: none;
    height: auto;
  }
}
/* Installation images keep their original ratio. */
.drawing-frame .installation-bg,
.drawing-frame .installation-frame {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}