@font-face {
  font-family: "ZCOOL QingKe HuangYou";
  src: url("assets/fonts/zcool-qingke-huangyou.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ceramic: #f4f3ee;
  --paper: #fbfbf8;
  --cobalt: #1148b5;
  --cobalt-deep: #0b347f;
  --graphite: #111820;
  --silver: #aab3ba;
  --silver-light: #d8dde0;
  --gold: #9a7429;
  --line: rgba(17, 24, 32, 0.2);
  --muted: #4e5963;
  --display: "ZCOOL QingKe HuangYou", "Microsoft YaHei", sans-serif;
  --body: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  --shell: min(100% - 64px, 1440px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--ceramic);
  color: var(--graphite);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}

body::selection,
body *::selection {
  background: var(--cobalt);
  color: #fff;
}

a,
button,
input,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.28em;
}

button,
input,
textarea {
  font: inherit;
}

button,
.button,
.brand,
.site-nav a {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  text-wrap: balance;
}

h2 {
  max-width: 15ch;
  margin-bottom: 28px;
  font-size: clamp(3.4rem, 6.2vw, 6rem);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--graphite);
  color: #fff;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 80px;
  border-bottom: 1px solid rgba(17, 24, 32, 0.14);
  background: rgba(244, 243, 238, 0.94);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: var(--shell);
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  gap: 12px;
  color: var(--graphite);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 44px;
  height: 44px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 36px);
}

.site-nav a {
  position: relative;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #2a333b;
  font-size: 0.92rem;
  text-decoration: none;
}

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

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

.site-nav .nav-contact {
  padding-inline: 18px;
  background: var(--graphite);
  color: #fff;
}

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

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--graphite);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 220ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4.5px) rotate(-45deg);
}

.hero {
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.hero-frame {
  position: relative;
  min-height: calc(100svh - 80px);
  overflow: hidden;
  background: var(--paper);
}

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

.hero-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 251, 248, 0.98) 0%, rgba(251, 251, 248, 0.88) 28%, rgba(251, 251, 248, 0.08) 58%, transparent 100%);
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: var(--shell);
  min-height: calc(100svh - 80px);
  margin-inline: auto;
  padding-block: clamp(80px, 11vh, 150px) 120px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

.hero-company {
  margin-bottom: 24px;
  color: var(--cobalt);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero h1 {
  max-width: 7.6ch;
  margin-bottom: 34px;
  font-size: clamp(5.2rem, 10.2vw, 10rem);
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 38rem;
  margin-bottom: 34px;
  color: #2f3941;
  font-size: clamp(1.04rem, 1.5vw, 1.28rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.button {
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button-primary:hover {
  border-color: var(--cobalt-deep);
  background: var(--cobalt-deep);
}

.button-link {
  border-color: transparent;
  color: var(--graphite);
  text-decoration: underline;
}

.hero-scale {
  position: absolute;
  z-index: 3;
  bottom: 18px;
  left: 50%;
  width: var(--shell);
  height: 24px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  transform: translateX(-50%);
}

.hero-scale span {
  border-left: 1px solid rgba(17, 24, 32, 0.45);
}

.hero-scale span:last-child {
  border-right: 1px solid rgba(17, 24, 32, 0.45);
}

.hero-index {
  min-height: 66px;
  padding: 12px max(32px, calc((100vw - 1440px) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  background: var(--graphite);
  color: #fff;
}

.hero-index span {
  padding: 8px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.9rem;
  text-align: center;
}

.hero-index span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.24);
}

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section-marker {
  padding-top: 10px;
  border-top: 2px solid var(--cobalt);
  color: var(--cobalt);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.intro {
  padding-block: clamp(110px, 14vw, 210px);
  display: grid;
  grid-template-columns: 2fr 8fr 2fr;
  gap: 28px;
}

.intro-copy {
  grid-column: 2;
}

.intro-copy h2 {
  max-width: 13ch;
}

.intro-copy p {
  max-width: 64ch;
  margin-left: auto;
  color: var(--muted);
  font-size: 1.1rem;
}

.products {
  border-top: 1px solid var(--line);
}

.products-heading {
  padding-block: 100px 70px;
  display: grid;
  grid-template-columns: 2fr 10fr;
  gap: 28px;
}

.products-heading p {
  max-width: 60ch;
  color: var(--muted);
}

.product-band {
  min-height: 680px;
  display: grid;
  grid-template-columns: minmax(320px, 5fr) minmax(480px, 7fr);
  align-items: stretch;
  border-top: 1px solid var(--line);
}

.product-band figure {
  min-height: 620px;
  margin: 0;
  overflow: hidden;
}

.product-band figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy {
  padding: clamp(70px, 8vw, 130px) max(32px, calc((100vw - 1440px) / 2));
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.product-copy h3 {
  max-width: 9ch;
  margin-bottom: 26px;
  font-size: clamp(3.6rem, 6.6vw, 7rem);
}

.product-copy p:last-child {
  max-width: 40ch;
  color: inherit;
}

.product-code {
  margin-bottom: 38px;
  color: var(--cobalt);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.product-band-blue {
  grid-template-columns: minmax(480px, 7fr) minmax(320px, 5fr);
  background: var(--cobalt);
  color: #fff;
}

.product-band-blue .product-code {
  color: #fff;
}

.product-band-blue .product-copy {
  padding-right: max(32px, calc((100vw - 1440px) / 2));
  padding-left: clamp(50px, 7vw, 120px);
}

.product-band-graphite {
  grid-template-columns: minmax(480px, 7fr) minmax(320px, 5fr);
  background: var(--graphite);
  color: #fff;
}

.product-band-graphite .product-code {
  color: #8eb2ff;
}

.product-band-graphite .product-copy {
  padding-right: max(32px, calc((100vw - 1440px) / 2));
  padding-left: clamp(50px, 7vw, 120px);
}

.process {
  padding-block: clamp(110px, 13vw, 190px);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}

.process-visual {
  position: sticky;
  top: 110px;
  min-height: 760px;
  overflow: hidden;
}

.process-visual img {
  width: 100%;
  height: 760px;
  object-fit: cover;
}

.process-copy {
  padding-top: 20px;
}

.process-copy .section-marker {
  margin-bottom: 90px;
}

.process-copy h2 {
  font-size: clamp(3.6rem, 5.4vw, 5.4rem);
}

.process-copy > p {
  max-width: 52ch;
  color: var(--muted);
}

.process-list {
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  min-height: 112px;
  padding: 24px 0 24px 52px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  counter-increment: process;
}

.process-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-list li::before {
  position: absolute;
  top: 27px;
  left: 0;
  color: var(--cobalt);
  content: counter(process, decimal-leading-zero);
  font-weight: 700;
}

.process-list span {
  color: var(--muted);
  font-size: 0.82rem;
}

.process-list strong {
  font-size: 1.08rem;
}

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

.applications-visual {
  width: 100%;
  height: min(66vw, 820px);
  overflow: hidden;
}

.applications-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.applications-copy {
  padding-block: 100px 130px;
  display: grid;
  grid-template-columns: 2fr 5fr 5fr;
  gap: 28px;
}

.applications-title-wrap h2 {
  font-size: clamp(3.5rem, 5.8vw, 5.8rem);
}

.applications-title-wrap p {
  max-width: 46ch;
  color: var(--muted);
}

.application-lines {
  align-self: end;
}

.application-lines div {
  padding: 23px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
}

.application-lines div:last-child {
  border-bottom: 1px solid var(--line);
}

.application-lines span {
  color: var(--muted);
  font-size: 0.9rem;
}

.development {
  padding-block: clamp(110px, 14vw, 200px);
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(42px, 7vw, 120px);
  align-items: center;
}

.development-copy .section-marker {
  margin-bottom: 76px;
}

.development-copy h2 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 5.6vw, 5.8rem);
}

.development-copy > p {
  max-width: 52ch;
  color: var(--muted);
}

.project-timeline {
  margin: 50px 0 28px;
  border-top: 1px solid var(--line);
}

.project-timeline div {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 22px;
}

.project-timeline dt {
  color: var(--muted);
  font-size: 0.84rem;
}

.project-timeline dd {
  margin: 0;
  font-weight: 700;
}

.project-boundary {
  padding-left: 18px;
  border-left: 1px solid var(--cobalt);
  font-size: 0.88rem;
}

.development-visual {
  min-height: 760px;
  overflow: hidden;
}

.development-visual img {
  width: 100%;
  height: 760px;
  object-fit: cover;
}

.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: var(--cobalt);
  color: #fff;
}

.contact-heading,
.contact-form {
  padding: clamp(70px, 8vw, 130px) max(32px, calc((100vw - 1440px) / 2));
}

.contact-heading {
  padding-right: clamp(50px, 7vw, 120px);
}

.contact-heading > p {
  letter-spacing: 0.16em;
}

.contact-heading h2 {
  max-width: 10ch;
  font-size: clamp(4rem, 6.6vw, 7rem);
}

.contact-heading span {
  display: block;
  margin-top: 64px;
  color: rgba(255, 255, 255, 0.75);
}

.contact-form {
  padding-left: clamp(50px, 7vw, 120px);
  border-left: 1px solid rgba(255, 255, 255, 0.38);
}

.field-row {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
}

.field-row label {
  font-weight: 700;
}

.field-row input,
.field-row textarea {
  width: 100%;
  min-height: 48px;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  caret-color: #fff;
  resize: vertical;
}

.field-row input:focus,
.field-row textarea:focus {
  outline: 0;
}

.field-row:focus-within {
  border-bottom-color: #fff;
}

.field-message {
  align-items: start;
}

.form-action {
  min-height: 110px;
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.contact-form .button-primary {
  border-color: #fff;
  background: #fff;
  color: var(--cobalt-deep);
}

.contact-form .button-primary:hover {
  background: var(--ceramic);
}

.form-status {
  max-width: 36ch;
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
}

.site-footer {
  padding: 64px max(32px, calc((100vw - 1440px) / 2)) 26px;
  background: var(--graphite);
  color: #fff;
}

.footer-main {
  min-height: 160px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 36px;
}

.footer-main div {
  display: grid;
  gap: 10px;
}

.footer-main strong {
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.8rem);
  font-weight: 400;
}

.footer-main span,
.footer-main a,
.footer-meta {
  color: rgba(255, 255, 255, 0.68);
}

.footer-main a {
  min-height: 44px;
}

.footer-meta {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 0.78rem;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1120px) {
  :root {
    --shell: min(100% - 48px, 1440px);
  }

  .brand span {
    max-width: 15em;
  }

  .site-nav {
    gap: 14px;
  }

  .site-nav a {
    font-size: 0.86rem;
  }

  .product-band,
  .product-band-blue,
  .product-band-graphite {
    grid-template-columns: 1fr 1fr;
  }

  .process {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .applications-copy {
    grid-template-columns: 1fr 2fr;
  }

  .applications-copy .application-lines {
    grid-column: 2;
  }

  .development {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 960px) {
  .menu-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 80px;
    right: 0;
    left: 0;
    padding: 24px;
    border-bottom: 1px solid var(--line);
    background: var(--ceramic);
    display: grid;
    gap: 0;
    transform: translateY(-120%);
    visibility: hidden;
    transition: transform 240ms ease, visibility 240ms;
  }

  .site-nav.is-open {
    transform: translateY(0);
    visibility: visible;
  }

  .site-nav a {
    min-height: 54px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav .nav-contact {
    margin-top: 16px;
    justify-content: center;
  }

  .hero-frame::after {
    background: linear-gradient(90deg, rgba(251, 251, 248, 0.97) 0%, rgba(251, 251, 248, 0.8) 48%, rgba(251, 251, 248, 0.1) 74%, transparent 100%);
  }

  .hero h1 {
    font-size: clamp(5rem, 13vw, 8.2rem);
  }

  .intro {
    grid-template-columns: 1fr 5fr;
  }

  .intro-copy {
    grid-column: 2;
  }

  .products-heading {
    grid-template-columns: 1fr 5fr;
  }

  .product-band,
  .product-band-blue,
  .product-band-graphite {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .product-band figure,
  .product-band figure img {
    min-height: 560px;
    height: 560px;
  }

  .product-band-blue figure,
  .product-band-graphite figure {
    order: 2;
  }

  .product-copy,
  .product-band-blue .product-copy,
  .product-band-graphite .product-copy {
    min-height: 480px;
    padding: 76px 24px;
  }

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

  .process-visual {
    position: relative;
    top: auto;
  }

  .applications-copy {
    grid-template-columns: 1fr 5fr;
  }

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

  .development-visual {
    min-height: 620px;
  }

  .development-visual img {
    height: 620px;
  }

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

  .contact-form {
    border-top: 1px solid rgba(255, 255, 255, 0.38);
    border-left: 0;
  }
}

@media (max-width: 700px) {
  :root {
    --shell: min(100% - 32px, 1440px);
  }

  body {
    font-size: 15px;
  }

  h2 {
    font-size: clamp(2.9rem, 15vw, 4.4rem);
  }

  .site-header {
    height: 72px;
  }

  .header-inner {
    gap: 16px;
  }

  .brand {
    gap: 9px;
    font-size: 0.88rem;
  }

  .brand span {
    max-width: 11em;
    line-height: 1.25;
    white-space: normal;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .site-nav {
    top: 72px;
  }

  .hero-frame {
    min-height: auto;
    padding-top: 0;
    display: flex;
    flex-direction: column;
  }

  .hero-frame::after {
    display: none;
  }

  .hero-image {
    position: relative;
    width: 100%;
    height: 390px;
    order: 2;
    object-position: 68% center;
  }

  .hero-content {
    width: var(--shell);
    min-height: 590px;
    padding-block: 70px 64px;
    order: 1;
  }

  .hero-company {
    margin-bottom: 18px;
  }

  .hero h1 {
    margin-bottom: 28px;
    font-size: clamp(4.6rem, 22vw, 6.3rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .button {
    width: 100%;
  }

  .hero-scale {
    display: none;
  }

  .hero-index {
    padding: 0 16px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-index span {
    min-height: 60px;
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.76rem;
  }

  .hero-index span:nth-child(odd) {
    border-left: 0;
  }

  .hero-index span:last-child {
    border-right: 0;
  }

  .intro,
  .products-heading,
  .applications-copy {
    display: block;
  }

  .section-marker {
    width: max-content;
    margin-bottom: 56px;
  }

  .intro {
    padding-block: 100px;
  }

  .intro-copy p {
    margin-left: 0;
  }

  .products-heading {
    padding-block: 90px 60px;
  }

  .product-copy,
  .product-band-blue .product-copy,
  .product-band-graphite .product-copy {
    min-height: 420px;
    padding: 60px 16px;
  }

  .product-copy h3 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .product-band figure,
  .product-band figure img {
    min-height: 430px;
    height: 430px;
  }

  .process {
    padding-block: 100px;
  }

  .process-visual,
  .process-visual img {
    min-height: 480px;
    height: 480px;
  }

  .process-copy .section-marker {
    margin-bottom: 56px;
  }

  .process-list li {
    padding-left: 44px;
  }

  .applications-visual {
    height: 470px;
  }

  .applications-visual img {
    object-position: 55% center;
  }

  .applications-copy {
    padding-block: 90px;
  }

  .applications-title-wrap {
    margin-bottom: 58px;
  }

  .application-lines div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .development {
    padding-block: 100px;
  }

  .development-copy .section-marker {
    margin-bottom: 56px;
  }

  .project-timeline div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .development-visual,
  .development-visual img {
    min-height: 480px;
    height: 480px;
  }

  .contact-heading,
  .contact-form {
    padding: 80px 16px;
  }

  .contact-heading h2 {
    font-size: clamp(3.7rem, 18vw, 5.4rem);
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .form-action {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    padding-inline: 16px;
  }

  .footer-main,
  .footer-meta {
    flex-direction: column;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
