@font-face {
  font-family: "Smiley Sans";
  src: url("assets/fonts/smiley-sans-display.woff2") format("woff2");
  font-display: swap;
}

:root {
  --paper: #f2efe7;
  --paper-strong: #fbfaf6;
  --ink: #1e2325;
  --muted: #596165;
  --line: #b9b9b0;
  --steel: #d6dbdc;
  --orange: #c8470a;
  --orange-dark: #9e3400;
  --dark: #202628;
  --white: #fffefa;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
::selection { color: var(--white); background: var(--orange-dark); }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: #485054; border: 3px solid var(--paper); }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(300px, 1fr) auto auto;
  align-items: stretch;
  border-bottom: 1px solid var(--line);
  background: rgb(242 239 231 / .96);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  width: max-content;
  padding: 12px clamp(20px, 4vw, 64px);
  text-decoration: none;
}
.brand-mark { width: 38px; height: 44px; fill: none; stroke: var(--orange); stroke-width: 1.5; }
.brand span { display: grid; line-height: 1.25; }
.brand strong { font-family: "Smiley Sans", sans-serif; font-size: 21px; letter-spacing: .06em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; letter-spacing: .04em; }
.desktop-nav { display: flex; align-items: stretch; }
.desktop-nav a,
.header-contact {
  min-width: 110px;
  display: grid;
  place-items: center;
  padding: 0 20px;
  border-left: 1px solid var(--line);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s ease, background .2s ease;
}
.desktop-nav a:hover { color: var(--orange-dark); background: var(--paper-strong); }
.header-contact { min-width: 128px; color: var(--white); background: var(--orange-dark); }
.header-contact:hover { background: var(--ink); }
.menu-button { display: none; }

.mobile-menu {
  width: min(100%, 480px);
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  padding: 0;
  border: 0;
  color: var(--white);
  background: var(--dark);
}
.mobile-menu::backdrop { background: rgb(14 18 20 / .68); }
.mobile-menu[open] { animation: menu-in .32s cubic-bezier(.2,.9,.2,1); }
.mobile-menu__top { height: 82px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; border-bottom: 1px solid #596164; }
.mobile-menu__top span { font-family: "Smiley Sans", sans-serif; font-size: 24px; }
.menu-close { width: 48px; height: 48px; border: 1px solid #6b7477; color: inherit; background: transparent; }
.menu-close svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mobile-menu nav { display: grid; padding: 26px 24px; }
.mobile-menu nav a { padding: 19px 0; border-bottom: 1px solid #4d5558; text-decoration: none; font-family: "Smiley Sans", sans-serif; font-size: 30px; }
.mobile-menu > p { margin: auto 24px 28px; color: #cbd0d1; }

.hero {
  position: relative;
  max-width: var(--max);
  min-height: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 42% 58%;
  border-inline: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 7vw, 108px) clamp(30px, 5vw, 78px);
  background: var(--paper);
}
h1, h2, h3 { margin: 0; font-family: "Smiley Sans", "Microsoft YaHei", sans-serif; font-weight: 700; line-height: 1.08; }
h1 { max-width: 8ch; font-size: clamp(54px, 5.4vw, 82px); letter-spacing: -.02em; text-wrap: balance; }
.hero-summary { max-width: 34em; margin: 30px 0 0; color: var(--muted); font-size: 17px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 19px;
  border: 1px solid var(--ink);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}
.button--primary { color: var(--white); border-color: var(--orange-dark); background: var(--orange-dark); }
.button--primary:hover { border-color: var(--ink); background: var(--ink); }
.button--secondary { background: transparent; }
.button--secondary:hover { color: var(--white); background: var(--ink); }
.hero-scope { display: grid; grid-template-columns: repeat(3, 1fr); margin: 52px 0 0; border-top: 1px solid var(--line); }
.hero-scope div { padding: 15px 14px 0 0; }
.hero-scope dt { font-weight: 700; }
.hero-scope dd { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.hero-visual { min-width: 0; height: 100%; margin: 0; position: relative; background: var(--steel); }
.hero-visual picture, .hero-visual img { height: 100%; }
.hero-visual img { object-fit: cover; object-position: center; }
.hero-visual figcaption { position: absolute; right: 22px; bottom: 18px; padding: 7px 10px; color: var(--white); background: rgb(30 35 37 / .86); font-size: 12px; letter-spacing: .14em; }
.load-line { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.load-line::before { content: ""; position: absolute; left: 39%; top: 26%; width: 29%; height: 1px; background: var(--ink); transform: rotate(-31deg); transform-origin: left; opacity: .38; }
.load-line span { position: absolute; left: calc(39% - 5px); top: calc(26% - 5px); width: 11px; height: 11px; border: 2px solid var(--orange); background: var(--paper); }

.product-section,
.records-section { max-width: var(--max); margin: 0 auto; border-inline: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); gap: 10vw; padding: clamp(72px, 9vw, 128px) clamp(24px, 5vw, 76px) 54px; }
.section-heading h2 { max-width: 10ch; font-size: clamp(42px, 5vw, 72px); letter-spacing: -.02em; }
.section-heading p { max-width: 34em; margin: 12px 0 0; color: var(--muted); font-size: 16px; }
.tower-register { border-top: 1px solid var(--line); }
.tower-entry { min-height: 430px; display: grid; grid-template-columns: 63% 37%; border-bottom: 1px solid var(--line); }
.tower-entry--reverse { grid-template-columns: 37% 63%; }
.tower-entry--reverse figure { order: 2; }
.tower-entry figure { min-width: 0; height: 430px; margin: 0; overflow: hidden; }
.tower-entry picture, .tower-entry img { height: 100%; }
.tower-entry img { object-fit: cover; }
.tower-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 74px); background: var(--paper-strong); }
.tower-copy::before { content: ""; position: absolute; top: 0; left: 0; width: 54px; height: 3px; background: var(--orange); }
.tower-copy h3 { font-size: clamp(36px, 4vw, 58px); }
.tower-copy p { max-width: 25em; margin: 22px 0 0; color: var(--muted); }
.tower-copy span { margin-top: 46px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--orange-dark); font-size: 13px; letter-spacing: .08em; }

.process-section { color: var(--white); background: var(--dark); }
.section-heading--light { max-width: var(--max); margin: 0 auto; }
.section-heading--light p { color: #c7cdcf; }
.process-route { max-width: var(--max); margin: 0 auto; padding: 0 clamp(24px, 5vw, 76px) 64px; list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); }
.process-route li { position: relative; min-height: 126px; padding: 30px 22px 0 0; border-top: 1px solid #737b7d; }
.process-route li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--orange); }
.process-route b, .process-route span { display: block; }
.process-route b { font-size: 17px; }
.process-route span { max-width: 15em; margin-top: 9px; color: #bdc4c6; font-size: 13px; }
.process-media { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; border-top: 1px solid #576063; }
.process-figure { min-width: 0; margin: 0; border-right: 1px solid #576063; border-bottom: 1px solid #576063; }
.process-figure--wide { grid-row: span 2; }
.process-figure picture { display: block; height: 310px; }
.process-figure--wide picture { height: 100%; min-height: 710px; }
.process-figure img { height: 100%; object-fit: cover; }
.process-figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; color: #c9ced0; }
.process-figure figcaption strong { color: var(--white); }
.process-figure figcaption span { font-size: 13px; }

.records-section { padding-bottom: clamp(76px, 9vw, 128px); }
.records-list { margin: 0 clamp(24px, 5vw, 76px); border-top: 1px solid var(--ink); }
.records-list article { display: grid; grid-template-columns: 180px 1fr; padding: 30px 0; border-bottom: 1px solid var(--line); }
.records-list time { color: var(--orange-dark); font-family: "Smiley Sans", sans-serif; font-size: 32px; font-variant-numeric: tabular-nums; }
.records-list h3 { font-size: 24px; }
.records-list p { max-width: 54em; margin: 8px 0 0; color: var(--muted); }

.contact-section { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 44% 56%; border: 1px solid var(--line); border-bottom: 0; background: var(--paper-strong); }
.contact-copy { padding: clamp(56px, 7vw, 100px) clamp(24px, 5vw, 76px); border-right: 1px solid var(--line); }
.contact-copy h2 { max-width: 9ch; font-size: clamp(42px, 5vw, 68px); letter-spacing: -.02em; }
.contact-copy > p { max-width: 31em; margin: 24px 0 0; color: var(--muted); }
address { margin-top: 46px; font-style: normal; }
address a, address p { display: grid; grid-template-columns: 62px 1fr; min-height: 44px; align-items: center; margin: 0; border-top: 1px solid var(--line); text-decoration: none; }
address a:last-of-type, address p:last-child { border-bottom: 1px solid var(--line); }
address span { color: var(--muted); font-size: 12px; }
address a:hover { color: var(--orange-dark); }
.contact-form { align-self: center; padding: clamp(46px, 6vw, 86px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 23px; font-size: 13px; }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 0; border: 0; border-bottom: 1px solid #858b8d; border-radius: 0; color: var(--ink); background: transparent; outline: 0; caret-color: var(--orange); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-bottom-color: var(--orange-dark); box-shadow: 0 2px 0 var(--orange-dark); }
.contact-form textarea { resize: vertical; }
.contact-form .button { min-width: 160px; }
.form-status { min-height: 28px; margin: 18px 0 0; color: var(--orange-dark); font-weight: 700; }
.form-status.error { color: #962c22; }

.site-footer { max-width: var(--max); margin: 0 auto; min-height: 160px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 20px; padding: 36px clamp(24px, 5vw, 76px); color: var(--white); background: var(--ink); }
.footer-brand { display: grid; }
.footer-brand strong { font-family: "Smiley Sans", sans-serif; font-size: 25px; }
.footer-brand span, .site-footer > p { color: #bfc5c7; font-size: 12px; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { min-height: 44px; display: inline-flex; align-items: center; text-underline-offset: 5px; }
.site-footer > p { grid-column: 1 / -1; margin: 0; padding-top: 18px; border-top: 1px solid #4d5557; }

@keyframes menu-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

@media (max-width: 1120px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .header-contact { display: none; }
  .menu-button { width: 82px; height: 82px; display: grid; place-content: center; gap: 6px; border: 0; border-left: 1px solid var(--line); background: transparent; }
  .menu-button span { width: 26px; height: 1px; background: var(--ink); }
  .hero { min-height: 650px; }
  .hero-scope { grid-template-columns: 1fr; }
  .hero-scope div { display: grid; grid-template-columns: 64px 1fr; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .hero-scope dd { align-self: center; }
  .section-heading { gap: 5vw; }
}

@media (max-width: 760px) {
  .site-header { min-height: 70px; }
  .brand { max-width: calc(100vw - 70px); padding: 9px 16px; }
  .brand-mark { width: 30px; height: 38px; }
  .brand strong { font-size: 19px; }
  .brand small { max-width: 210px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .menu-button { width: 70px; height: 70px; }
  .mobile-menu__top { height: 70px; }
  .hero { min-height: 0; display: flex; flex-direction: column; border-inline: 0; }
  .hero-copy { min-height: 590px; justify-content: flex-start; padding: 74px 22px 44px; }
  h1 { font-size: clamp(50px, 15vw, 66px); }
  .hero-summary { font-size: 16px; }
  .hero-actions { display: grid; }
  .hero-scope { margin-top: 40px; }
  .hero-visual { height: 76vw; min-height: 320px; }
  .hero-visual img { object-position: 60% center; }
  .load-line { display: none; }
  .product-section, .records-section { border-inline: 0; }
  .section-heading { grid-template-columns: 1fr; gap: 18px; padding: 78px 22px 38px; }
  .section-heading h2 { max-width: 11ch; font-size: clamp(42px, 13vw, 58px); }
  .section-heading p { margin-top: 0; }
  .tower-entry, .tower-entry--reverse { min-height: 0; display: flex; flex-direction: column; }
  .tower-entry--reverse figure { order: 0; }
  .tower-entry figure { width: 100%; height: 68vw; min-height: 270px; }
  .tower-copy { min-height: 270px; padding: 36px 22px; }
  .tower-copy h3 { font-size: 44px; }
  .tower-copy span { margin-top: 30px; }
  .process-route { grid-template-columns: 1fr; padding: 0 22px 48px; }
  .process-route li { min-height: 92px; padding: 22px 0 12px 30px; }
  .process-route li::before { top: 28px; }
  .process-media { grid-template-columns: 1fr; }
  .process-figure--wide { grid-row: auto; }
  .process-figure picture, .process-figure--wide picture { height: 72vw; min-height: 290px; }
  .process-figure figcaption { align-items: start; flex-direction: column; gap: 2px; }
  .records-list { margin-inline: 22px; }
  .records-list article { grid-template-columns: 1fr; gap: 12px; padding: 26px 0; }
  .records-list time { font-size: 26px; }
  .contact-section { grid-template-columns: 1fr; border-inline: 0; }
  .contact-copy { border-right: 0; border-bottom: 1px solid var(--line); padding: 68px 22px; }
  .contact-form { padding: 46px 22px 62px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .site-footer { grid-template-columns: 1fr; padding: 42px 22px; }
  .site-footer nav { flex-wrap: wrap; gap: 8px 20px; }
  .site-footer > p { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
}
