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

:root {
  --paper: #f1efe8;
  --paper-deep: #e4e0d5;
  --ink: #15191d;
  --ink-soft: #4c5155;
  --blue: #0b55d5;
  --blue-dark: #083f9e;
  --register-orange: #e15b2a;
  --silver: #b9bec1;
  --line: rgba(21, 25, 29, .34);
  --progress: 0%;
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  opacity: .18;
  background-image: url("assets/hero-material-equipment.webp");
  background-size: 1700px auto;
  mix-blend-mode: multiply;
  filter: grayscale(1) contrast(.65) brightness(1.45);
}
img { display: block; width: 100%; }
a { color: inherit; text-underline-offset: .24em; }
button, input, textarea { font: inherit; }
::selection { color: #fff; background: var(--blue); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--paper-deep); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 2px solid var(--paper-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }

.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 200; padding: 12px 16px; background: var(--ink); color: #fff; }
.scroll-register { position: fixed; z-index: 100; top: 0; left: 0; right: 0; height: 4px; background: rgba(21,25,29,.16); }
.scroll-register span { display: block; width: var(--progress); height: 100%; background: var(--blue); }

.site-header {
  position: sticky;
  z-index: 70;
  top: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3vw;
  border-bottom: 1px solid var(--ink);
  background: rgba(241, 239, 232, .96);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 44px; height: 44px; flex: 0 0 auto; }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-family: "Smiley Sans", sans-serif; font-size: 20px; }
.brand small { margin-top: 4px; font-size: 11px; letter-spacing: .14em; color: var(--ink-soft); }
.site-nav { display: flex; align-items: stretch; min-height: 76px; }
.site-nav a { min-width: 112px; display: grid; place-items: center; padding: 0 20px; border-left: 1px solid var(--line); text-decoration: none; font-size: 14px; }
.site-nav a:hover, .site-nav a[aria-current="true"] { color: #fff; background: var(--blue); }
.menu-toggle { display: none; width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; padding: 12px; }
.menu-toggle > span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--ink); }
.menu-toggle > span:not(.sr-only) { transition: transform .18s ease, opacity .18s ease; }
.menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; min-height: calc(100vh - 76px); border-bottom: 1px solid var(--ink); overflow: hidden; background: var(--paper); }
.hero-image { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: center; filter: saturate(.86) contrast(1.04); }
.hero::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 55%; background: rgba(241,239,232,.9); }
.hero-paper { position: relative; z-index: 2; width: min(920px, 60vw); padding: clamp(72px, 10vh, 120px) 3vw 110px; }
.hero h1 { width: 12em; max-width: 100%; margin: 0; font-family: "Smiley Sans", sans-serif; font-size: clamp(54px, 6.25vw, 96px); font-weight: 750; letter-spacing: -.03em; line-height: .96; text-wrap: balance; }
.hero h1 > span { display: block; }
.hero-title-tail { display: inline; }
.hero-paper p { max-width: 31em; margin: 32px 0 0; font-size: clamp(17px, 1.25vw, 21px); line-height: 1.75; }
.primary-action { display: inline-grid; min-height: 52px; place-items: center; margin-top: 34px; padding: 0 28px; color: #fff; background: var(--blue); font-weight: 700; text-decoration: none; }
.primary-action:hover { background: var(--blue-dark); }
.hero-index { position: absolute; z-index: 3; left: 3vw; bottom: 86px; display: flex; gap: 0; border-top: 1px solid var(--ink); }
.hero-index span { min-height: 52px; display: grid; place-items: center; padding: 0 22px; border-right: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.hero-index span:first-child { border-left: 1px solid var(--ink); }
.hero-register { position: absolute; z-index: 3; left: 0; right: 0; top: 38%; height: 1px; background: var(--blue); }
.hero-register i { position: absolute; top: -7px; width: 15px; height: 15px; border: 2px solid var(--register-orange); border-radius: 50%; background: var(--paper); }
.hero-register i:nth-child(1) { left: 12%; }
.hero-register i:nth-child(2) { left: 42%; }
.hero-register i:nth-child(3) { left: 69%; }
.hero-register i:nth-child(4) { left: 91%; }
.hero-meta { position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; min-height: 66px; display: grid; grid-template-columns: max-content 1fr max-content 1fr; align-items: center; gap: 18px; padding: 0 3vw; border-top: 1px solid var(--ink); background: rgba(241,239,232,.94); font-size: 12px; }
.hero-meta span { color: var(--blue); }

@media (min-width: 901px) {
  .hero-register { top: 42.2%; }
}

@media (min-width: 1500px) {
  .hero-register { top: 44%; }
}

.section-intro { display: grid; grid-template-columns: 1.2fr .8fr; gap: 8vw; padding: 120px 3vw 64px; border-bottom: 1px solid var(--ink); }
h2 { margin: 0; font-family: "Smiley Sans", sans-serif; font-size: clamp(42px, 5vw, 78px); line-height: 1; letter-spacing: -.03em; text-wrap: balance; }
.section-intro p, .process-heading p, .record-head p, .contact-copy > p { max-width: 68ch; margin: 8px 0 0; font-size: 17px; line-height: 1.8; color: var(--ink-soft); }
.direction-strip { min-height: 540px; display: grid; grid-template-columns: .82fr 1.18fr; border-bottom: 1px solid var(--ink); }
.direction-strip:nth-of-type(3) { grid-template-columns: 1.18fr .82fr; }
.direction-copy { display: flex; flex-direction: column; justify-content: center; padding: 7vw 5vw; border-right: 1px solid var(--ink); }
.direction-strip:nth-of-type(3) .direction-copy { border-right: 0; border-left: 1px solid var(--ink); }
.direction-code { width: max-content; padding-bottom: 8px; border-bottom: 2px solid var(--blue); font-family: Consolas, monospace; font-size: 12px; letter-spacing: .08em; color: var(--blue); }
.direction-copy h3 { margin: 24px 0 20px; font-family: "Smiley Sans", sans-serif; font-size: clamp(40px, 4.6vw, 72px); line-height: 1; letter-spacing: -.025em; }
.direction-copy p { max-width: 36em; margin: 0; font-size: 17px; line-height: 1.8; }
.direction-strip figure { position: relative; min-height: 430px; margin: 0; overflow: hidden; }
.direction-strip figure img { width: 100%; height: 100%; object-fit: cover; }
figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; color: #fff; background: rgba(21,25,29,.88); font-size: 12px; }

.process { padding-top: 120px; border-bottom: 1px solid var(--ink); }
.process-heading { display: grid; grid-template-columns: 1fr .75fr; gap: 8vw; align-items: end; padding: 0 3vw 56px; }
.process-figure { position: relative; height: min(72vw, 820px); margin: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); overflow: hidden; }
.process-figure img { height: 100%; object-fit: cover; }
.process-steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; padding: 0; list-style: none; }
.process-steps li { min-height: 150px; display: grid; align-content: center; gap: 10px; padding: 28px 3vw; border-right: 1px solid var(--ink); }
.process-steps li:last-child { border-right: 0; }
.process-steps strong { font-family: "Smiley Sans", sans-serif; font-size: 28px; }
.process-steps span { line-height: 1.6; color: var(--ink-soft); }

.material-atlas { display: grid; grid-template-columns: 1.18fr .82fr; min-height: 660px; border-bottom: 1px solid var(--ink); }
.material-atlas figure { margin: 0; overflow: hidden; }
.material-atlas img { height: 100%; object-fit: cover; }
.atlas-copy { display: flex; flex-direction: column; justify-content: center; padding: 7vw 5vw; border-left: 1px solid var(--ink); }
.atlas-copy p { margin: 28px 0; font-size: 17px; line-height: 1.8; color: var(--ink-soft); }
.atlas-copy a { width: max-content; min-height: 44px; display: inline-flex; align-items: center; padding-bottom: 5px; border-bottom: 2px solid var(--blue); color: var(--blue); font-weight: 700; text-decoration: none; }

.observation { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 600px; color: #fff; background: var(--ink); }
.observation-copy { display: flex; flex-direction: column; justify-content: center; padding: 7vw 5vw; }
.observation-copy p { margin: 28px 0 0; font-size: 17px; line-height: 1.8; color: #cbd0d3; }
.observation figure { margin: 0; overflow: hidden; border-left: 1px solid #fff; }
.observation img { height: 100%; object-fit: cover; }

.record { padding-top: 120px; border-bottom: 1px solid var(--ink); }
.record-head { display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; padding: 0 3vw 56px; }
.record-foldout { height: min(64vw, 760px); margin: 0; overflow: hidden; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.record-foldout img { height: 100%; object-fit: cover; }
.record-line { display: grid; grid-template-columns: repeat(3, 1fr); }
.record-line article { min-height: 330px; padding: 42px 3vw; border-right: 1px solid var(--ink); }
.record-line article:last-child { border-right: 0; }
.record-line time { display: block; margin-bottom: 38px; font-family: "Smiley Sans", sans-serif; font-size: 56px; color: var(--blue); font-variant-numeric: tabular-nums; }
.record-line h3 { margin: 0 0 18px; font-size: 22px; }
.record-line p { line-height: 1.75; color: var(--ink-soft); }
.record-line a { min-height: 44px; display: inline-flex; align-items: center; margin-top: 10px; color: var(--blue); font-size: 14px; font-weight: 700; }

.contact { display: grid; grid-template-columns: 1.04fr .96fr; min-height: 760px; }
.contact-copy { padding: 110px 5vw 80px 3vw; }
.contact-copy dl { margin: 60px 0 0; border-top: 1px solid var(--ink); }
.contact-copy dl div { display: grid; grid-template-columns: 180px 1fr; gap: 30px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-copy dt { color: var(--blue); font-size: 13px; }
.contact-copy dd { margin: 0; line-height: 1.6; }
.contact-form { display: grid; align-content: center; gap: 24px; padding: 90px 5vw; border-left: 1px solid var(--ink); background: var(--paper-deep); }
.contact-form label { display: grid; gap: 9px; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; min-height: 48px; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding: 10px 0; background: transparent; color: var(--ink); caret-color: var(--blue); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--blue); outline: 0; box-shadow: 0 2px 0 var(--blue); }
.contact-form button { min-height: 54px; border: 0; color: #fff; background: var(--blue); font-weight: 800; cursor: pointer; }
.contact-form button:hover { background: var(--blue-dark); }
.contact-form button:disabled { cursor: not-allowed; opacity: .55; }
.form-status { min-height: 1.6em; margin: 0; color: var(--blue-dark); font-size: 14px; line-height: 1.6; }

.site-footer { min-height: 190px; display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; align-items: center; gap: 28px; padding: 42px 3vw; color: #fff; background: var(--ink); }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand strong { font-family: "Smiley Sans", sans-serif; font-size: 22px; }
.site-footer p { margin: 0; color: #cbd0d3; font-size: 13px; }
.site-footer a { min-height: 44px; display: inline-grid; place-items: center; padding: 0 16px; border: 1px solid #fff; text-decoration: none; }
.site-footer a:hover { color: var(--ink); background: #fff; }

@media (max-width: 900px) {
  .site-header { padding: 0 20px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 76px; display: none; min-height: 0; border-bottom: 1px solid var(--ink); background: var(--paper); }
  .site-nav.open { display: grid; }
  .site-nav a { min-height: 54px; border-left: 0; border-top: 1px solid var(--line); }
  .hero-paper { width: 72vw; }
  .hero::after { width: 72%; background: rgba(241,239,232,.9); }
  .hero-meta { grid-template-columns: max-content 1fr; padding: 10px 20px; gap: 7px 16px; }
  .section-intro, .process-heading, .record-head { grid-template-columns: 1fr; gap: 24px; }
  .direction-strip, .direction-strip:nth-of-type(3) { grid-template-columns: 1fr 1fr; }
  .material-atlas { grid-template-columns: 1fr; }
  .material-atlas figure { min-height: 480px; }
  .atlas-copy { border-left: 0; border-top: 1px solid var(--ink); }
  .observation { grid-template-columns: 1fr; }
  .observation figure { min-height: 480px; border-left: 0; border-top: 1px solid #fff; }
  .record-line { grid-template-columns: 1fr; }
  .record-line article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .contact { grid-template-columns: 1fr; }
  .contact-form { border-left: 0; border-top: 1px solid var(--ink); }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .brand small { display: none; }
  .hero { min-height: 930px; }
  .hero-image { height: 53%; top: auto; object-position: 66% center; }
  .hero::after { width: 100%; height: 53%; background: rgba(241,239,232,.9); }
  .hero-paper { width: auto; padding: 64px 20px 0; }
  .hero h1 { font-size: 46px; }
  .hero-title-tail { display: block; }
  .hero-paper p { font-size: 16px; }
  .hero-index { left: 20px; right: 20px; bottom: 106px; display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-index span { min-height: 60px; padding: 0 6px; text-align: center; font-size: 11px; }
  .hero-meta { min-height: 92px; grid-template-columns: 1fr; gap: 2px; font-size: 10px; }
  .hero-meta strong { margin-bottom: 5px; }
  .hero-register { top: 49%; }
  .section-intro { padding: 86px 20px 44px; }
  h2 { font-size: 46px; }
  .section-intro p, .process-heading p, .record-head p, .contact-copy > p { font-size: 16px; }
  .direction-strip, .direction-strip:nth-of-type(3) { min-height: 0; display: flex; flex-direction: column; }
  .direction-strip:nth-of-type(3) { flex-direction: column-reverse; }
  .direction-copy, .direction-strip:nth-of-type(3) .direction-copy { min-height: 390px; padding: 70px 20px; border: 0; border-bottom: 1px solid var(--ink); }
  .direction-strip figure { min-height: 360px; }
  .direction-copy h3 { font-size: 52px; }
  .process { padding-top: 86px; }
  .process-heading { padding: 0 20px 44px; }
  .process-figure { height: 520px; }
  .process-figure img { object-position: 58% center; }
  .process-steps { grid-template-columns: 1fr; }
  .process-steps li { min-height: 116px; padding: 24px 20px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .material-atlas figure { min-height: 420px; }
  .atlas-copy { padding: 76px 20px; }
  .observation-copy { padding: 76px 20px; }
  .observation figure { min-height: 360px; }
  .record { padding-top: 86px; }
  .record-head { padding: 0 20px 44px; }
  .record-foldout { height: 430px; }
  .record-line article { padding: 38px 20px; }
  .record-line time { margin-bottom: 26px; }
  .contact-copy { padding: 84px 20px 60px; }
  .contact-copy dl div { grid-template-columns: 1fr; gap: 8px; }
  .contact-form { padding: 70px 20px; }
  .site-footer { grid-template-columns: 1fr; padding: 48px 20px; }
  .site-footer a { width: max-content; }
}

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