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

:root {
  --ink: #151716;
  --ink-soft: #454845;
  --paper: #f4f3ef;
  --white: #fff;
  --stone: #d8d6d0;
  --line: #c7c5bf;
  --orange: #e56322;
  --orange-dark: #b94716;
  --orange-deep: #93340f;
  --font-display: "Smiley Sans Display", "Noto Sans SC", "Source Han Sans SC", sans-serif;
  --content: min(1320px, calc(100vw - 72px));
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: var(--orange-dark) var(--stone); scrollbar-width: thin; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--white); background: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--stone); }
::-webkit-scrollbar-thumb { border: 3px solid var(--stone); background: var(--orange-dark); }
::-webkit-scrollbar-thumb:hover { background: var(--orange-deep); }

.skip-link { position: fixed; z-index: 100; left: 16px; top: 16px; padding: 10px 16px; color: #fff; background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: minmax(340px, 1fr) auto;
  align-items: center;
  min-height: 78px;
  padding: 0 max(36px, calc((100vw - 1320px) / 2));
  border-bottom: 1px solid rgba(21, 23, 22, .18);
  background: rgba(244, 243, 239, .94);
  backdrop-filter: blur(14px);
}
.brand { display: inline-flex; align-items: center; width: fit-content; text-decoration: none; }
.brand-mark { flex: 0 0 auto; width: 42px; height: 42px; color: var(--ink); }
.brand-name { max-width: 260px; margin-left: 12px; font-size: 15px; font-weight: 800; line-height: 1.25; }
.primary-nav { display: flex; align-items: center; height: 100%; }
.primary-nav a { position: relative; display: grid; place-items: center; min-height: 78px; padding: 0 17px; font-size: 13px; font-weight: 700; text-decoration: none; }
.primary-nav a::after { position: absolute; right: 17px; bottom: 19px; left: 17px; height: 2px; background: var(--orange); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .22s var(--ease); }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { transform: scaleX(1); }
.primary-nav .nav-contact { min-height: 42px; margin-left: 12px; padding: 0 20px; color: var(--white); background: var(--ink); transition: background .2s ease; }
.primary-nav .nav-contact:hover { background: var(--orange-dark); }
.primary-nav .nav-contact::after { display: none; }
.menu-toggle { display: none; }

.hero { position: relative; display: grid; grid-template-columns: 44% 56%; min-height: calc(100svh - 78px); overflow: hidden; background: var(--white); }
.hero-copy { z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 80px 5vw max(92px, 9vh) max(36px, calc((100vw - 1320px) / 2)); }
.hero h1 { max-width: 680px; margin: 0; font-family: var(--font-display); font-size: clamp(54px, 5.5vw, 96px); font-weight: 800; letter-spacing: -.038em; line-height: 1.05; }
.hero h1 em { color: var(--orange-dark); font-style: normal; }
.hero-intro { max-width: 520px; margin: 34px 0 0; color: var(--ink-soft); font-size: clamp(16px, 1.2vw, 19px); }
.hero-actions { display: flex; gap: 12px; margin-top: 40px; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 26px; border: 1px solid var(--ink); border-radius: 0; cursor: pointer; font-weight: 750; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s var(--ease); }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); border-color: var(--orange-dark); background: var(--orange-dark); }
.button-primary:hover { border-color: var(--orange-deep); background: var(--orange-deep); }
.button-secondary { background: transparent; }
.button-secondary:hover { color: var(--white); background: var(--ink); }
.hero-visual { position: relative; min-width: 0; margin: 0; overflow: hidden; background: #e5e2dc; }
.hero-visual img { object-position: 60% center; }
.hero-visual figcaption { position: absolute; right: 30px; bottom: 24px; left: 30px; display: flex; align-items: center; gap: 12px; color: var(--ink); font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.hero-visual figcaption span { height: 1px; flex: 1; background: rgba(21, 23, 22, .42); }
.hero-index { position: absolute; z-index: 3; bottom: 0; left: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 44%; min-height: 58px; padding: 0 max(36px, calc((100vw - 1320px) / 2)); gap: 18px; border-top: 1px solid var(--line); background: var(--paper); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.hero-index strong { color: var(--orange-dark); }

.material-direction { padding: 150px max(36px, calc((100vw - 1320px) / 2)); background: var(--paper); }
.section-heading { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr); gap: 8.33%; align-items: end; padding-bottom: 48px; border-bottom: 1px solid var(--ink); }
.section-heading h2, .flow-copy h2, .path-intro h2, .upgrade h2, .about h2, .contact h2 { margin: 0; font-family: var(--font-display); font-size: clamp(42px, 4.8vw, 74px); font-weight: 760; letter-spacing: -.035em; line-height: 1.1; }
.section-heading p { max-width: 52ch; margin: 0; color: var(--ink-soft); }
.direction-body { display: grid; grid-template-columns: 7fr 4fr; gap: 8.33%; padding-top: 64px; }
.raw-figure { min-height: 600px; margin: 0; overflow: hidden; }
.raw-figure img { object-position: 40% center; }
.direction-statement { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 0 0; }
.direction-statement > p { max-width: 31ch; margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 650; line-height: 1.55; }
.direction-statement dl { margin: 56px 0 0; border-top: 1px solid var(--ink); }
.direction-statement dl div { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.direction-statement dt { color: var(--ink-soft); font-size: 12px; }
.direction-statement dd { margin: 0; font-weight: 750; }

.particle-flow { display: grid; grid-template-columns: 32% 68%; min-height: 620px; color: var(--white); background: var(--ink); }
.flow-copy { display: flex; flex-direction: column; justify-content: space-between; padding: 90px max(36px, 5vw); border-right: 1px solid rgba(255,255,255,.18); }
.flow-copy h2 { max-width: 560px; font-size: clamp(38px, 4.1vw, 68px); }
.flow-copy p { max-width: 38ch; margin: 60px 0 0; color: rgba(255,255,255,.68); }
.flow-band { display: grid; grid-template-columns: 1.45fr 1.1fr .8fr .65fr; min-width: 0; }
.flow-step { position: relative; display: flex; min-width: 0; flex-direction: column; justify-content: flex-end; padding: 56px 26px; border-right: 1px solid rgba(255,255,255,.18); background-position: center; background-size: cover; overflow: hidden; isolation: isolate; }
.flow-step::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(to top, rgba(8,9,8,.92), rgba(8,9,8,.04) 74%); content: ""; }
.flow-coarse { background-image: url("assets/02-mineral-feedstock-texture.png"); background-position: 22% center; }
.flow-mid { background-image: url("assets/03-particle-screening.png"); }
.flow-fine { background-image: url("assets/04-material-homogenization.png"); }
.flow-form { background-image: url("assets/05-formed-material-study.png"); background-position: 75% center; }
.flow-step b { font-size: clamp(25px, 2.5vw, 40px); letter-spacing: -.025em; }
.flow-step span { margin-top: 8px; color: rgba(255,255,255,.68); font-size: 12px; }
.motion-ready .flow-step { clip-path: inset(0 0 100% 0); transform: translateY(30px); }
.motion-ready .flow-band.in-view .flow-step { clip-path: inset(0); transform: translateY(0); transition: clip-path 1.1s var(--ease), transform 1.1s var(--ease); }
.motion-ready .flow-band.in-view .flow-step:nth-child(2) { transition-delay: .1s; }
.motion-ready .flow-band.in-view .flow-step:nth-child(3) { transition-delay: .2s; }
.motion-ready .flow-band.in-view .flow-step:nth-child(4) { transition-delay: .3s; }

.communication-path { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; padding: 150px max(36px, calc((100vw - 1320px) / 2)); background: var(--white); }
.path-intro { grid-column: 1 / span 4; grid-row: 1 / span 3; padding-right: 36px; }
.path-intro h2 { font-size: clamp(42px, 4.1vw, 66px); }
.path-intro p { max-width: 32ch; margin: 32px 0 0; color: var(--ink-soft); }
.path-intro a { display: inline-block; margin-top: 38px; color: var(--orange-dark); font-weight: 800; }
.path-row { display: grid; grid-template-columns: 56% 44%; min-width: 0; border-top: 1px solid var(--ink); }
.path-row figure { min-width: 0; min-height: 330px; margin: 0; overflow: hidden; }
.path-row div { display: flex; flex-direction: column; justify-content: flex-end; padding: 38px 0 38px 40px; }
.path-row h3 { margin: 0 0 12px; font-size: clamp(26px, 2.2vw, 36px); letter-spacing: -.02em; }
.path-row p { max-width: 32ch; margin: 0; color: var(--ink-soft); }
.path-row-wide { grid-column: 5 / -1; }
.path-row-split { grid-column: 5 / -1; }
.path-row-split figure img { object-position: 70% center; }
.path-row-tall { grid-column: 5 / -1; }
.path-row-last { grid-column: 5 / -1; border-bottom: 1px solid var(--ink); }

.upgrade { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 24px; padding: 130px max(36px, calc((100vw - 1320px) / 2)); color: var(--white); background: #101211; overflow: hidden; }
.upgrade-image { position: absolute; inset: 0; margin: 0; opacity: .48; }
.upgrade-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,9,9,.98) 0%, rgba(8,9,9,.78) 38%, rgba(8,9,9,.18) 100%); content: ""; }
.upgrade-copy, .upgrade-line { position: relative; z-index: 1; }
.upgrade-copy { grid-column: 1 / span 5; }
.upgrade-copy p { max-width: 42ch; margin: 34px 0 0; color: rgba(255,255,255,.82); font-size: 18px; }
.upgrade-copy small { display: block; max-width: 54ch; margin-top: 18px; color: rgba(255,255,255,.5); }
.upgrade-line { grid-column: 7 / -1; align-self: end; display: grid; grid-template-columns: 1fr 80px 1fr; align-items: center; margin-top: 150px; }
.upgrade-line > div { display: flex; flex-direction: column; padding-top: 18px; border-top: 2px solid var(--orange); }
.upgrade-line time { color: var(--orange); font-size: 28px; font-weight: 850; }
.upgrade-line b { margin-top: 10px; }
.upgrade-line span { color: rgba(255,255,255,.58); font-size: 12px; }
.upgrade-line i { height: 1px; background: rgba(255,255,255,.4); }

.about { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 48px; align-items: stretch; padding: 150px max(36px, calc((100vw - 1320px) / 2)); background: var(--paper); }
.about-title-wrap { padding-top: 8px; }
.about h2 { font-size: clamp(42px, 4.4vw, 70px); }
.about-copy { display: flex; flex-direction: column; justify-content: flex-end; color: var(--ink-soft); }
.about-copy p { margin: 0; }
.about-copy p + p { margin-top: 22px; }
.about-image { min-height: 520px; margin: 0; overflow: hidden; }
.about-image img { object-position: 56% center; }

.contact { display: grid; grid-template-columns: 4fr 7fr; gap: 8.33%; padding: 130px max(36px, calc((100vw - 1320px) / 2)); color: var(--white); background: var(--orange-dark); }
.contact h2 { font-size: clamp(46px, 5vw, 78px); }
.contact-intro > p { max-width: 36ch; margin: 28px 0 0; color: rgba(255,255,255,.92); }
.contact address { display: flex; flex-direction: column; margin-top: 68px; font-style: normal; }
.contact address span + span { margin-top: 5px; color: rgba(255,255,255,.9); }
.contact-form { display: grid; gap: 20px; align-content: start; padding-top: 8px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form label { display: grid; gap: 9px; font-size: 13px; font-weight: 700; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.55); border-radius: 0; padding: 14px 16px; color: var(--white); background: rgba(255,255,255,.06); caret-color: var(--white); transition: border-color .2s ease, background .2s ease; }
.contact-form input { min-height: 54px; }
.contact-form textarea { resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--white); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--white); background: rgba(255,255,255,.1); }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.contact-form [aria-invalid="true"] { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.3); }
.form-footer { display: flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 24px; }
.form-footer p { max-width: 46ch; margin: 0; font-size: 13px; font-weight: 650; }
.contact-form .button-primary { min-width: 180px; color: var(--ink); border-color: var(--white); background: var(--white); }
.contact-form .button-primary:hover { color: var(--white); border-color: var(--ink); background: var(--ink); }
.contact-form .button-primary:focus-visible { outline: 3px solid var(--white); outline-offset: 4px; }

.site-footer { display: grid; grid-template-columns: 5fr 3fr 2fr; gap: 40px; padding: 58px max(36px, calc((100vw - 1320px) / 2)) 30px; color: var(--white); background: var(--ink); }
.footer-brand { display: flex; align-items: center; }
.footer-brand .brand-mark { color: var(--white); }
.footer-brand div { display: flex; flex-direction: column; margin-left: 14px; }
.footer-brand b { font-size: 14px; }
.footer-brand span { margin-top: 5px; color: rgba(255,255,255,.55); font-size: 12px; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; align-content: center; }
.site-footer nav a { color: rgba(255,255,255,.72); font-size: 13px; }
.footer-note { align-self: center; justify-self: end; margin: 0; color: rgba(255,255,255,.58); font-size: 12px; }
.copyright { grid-column: 1 / -1; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.7); font-size: 11px; }

@media (max-width: 1120px) {
  :root { --content: calc(100vw - 48px); }
  .site-header { grid-template-columns: minmax(280px, 1fr) auto; padding: 0 24px; }
  .primary-nav a { padding: 0 10px; }
  .brand-name { max-width: 220px; font-size: 13px; }
  .hero-copy { padding-left: 5vw; }
  .hero-index { padding-left: 5vw; }
  .material-direction, .communication-path, .upgrade, .about, .contact, .site-footer { padding-right: 24px; padding-left: 24px; }
  .particle-flow { grid-template-columns: 38% 62%; }
  .flow-band { grid-template-columns: 1fr 1fr; }
  .flow-step { min-height: 310px; }
  .path-intro { grid-column: 1 / span 5; }
  .path-row { grid-column: 6 / -1; grid-template-columns: 1fr; }
  .path-row figure { min-height: 280px; }
  .path-row div { padding-left: 0; }
  .about { grid-template-columns: 1fr 1fr; }
  .about-copy { padding-top: 70px; }
  .about-image { grid-column: 1 / -1; min-height: 460px; }
}

@media (max-width: 860px) {
  .site-header { min-height: 70px; }
  .brand-name { max-width: 250px; }
  .menu-toggle { display: inline-flex; min-height: 44px; align-items: center; gap: 12px; padding: 0; border: 0; color: var(--ink); background: transparent; cursor: pointer; font-size: 13px; font-weight: 800; }
  .menu-toggle i, .menu-toggle i::before { display: block; width: 24px; height: 2px; background: currentColor; content: ""; transition: transform .25s var(--ease); }
  .menu-toggle i::before { transform: translateY(7px); }
  .menu-toggle[aria-expanded="true"] i { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] i::before { transform: rotate(-90deg); }
  .primary-nav { position: fixed; inset: 70px 0 auto; display: grid; height: auto; padding: 22px 24px 30px; border-bottom: 1px solid var(--ink); background: var(--paper); transform: translateY(-130%); visibility: hidden; transition: transform .35s var(--ease), visibility .35s; }
  .primary-nav.open { transform: translateY(0); visibility: visible; }
  .primary-nav a { justify-content: start; min-height: 58px; padding: 0; border-bottom: 1px solid var(--line); font-size: 17px; }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-contact { margin: 16px 0 0; padding: 0 18px; border-bottom: 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { min-height: 650px; padding: 90px 24px 80px; }
  .hero h1 { font-size: clamp(54px, 11vw, 84px); }
  .hero-visual { height: 62vw; min-height: 430px; }
  .hero-index { display: none; }
  .section-heading, .direction-body { grid-template-columns: 1fr; gap: 40px; }
  .material-direction { padding-top: 110px; padding-bottom: 110px; }
  .raw-figure { min-height: 540px; }
  .direction-statement { gap: 50px; }
  .direction-statement > p { max-width: 42ch; }
  .particle-flow { grid-template-columns: 1fr; }
  .flow-copy { min-height: 420px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .communication-path { display: block; padding-top: 110px; padding-bottom: 110px; }
  .path-intro { padding: 0 0 72px; }
  .path-intro p { max-width: 42ch; }
  .path-row { grid-template-columns: 55% 45%; }
  .path-row div { padding: 32px 0 32px 28px; }
  .upgrade-copy { grid-column: 1 / span 7; }
  .upgrade-line { grid-column: 1 / -1; margin-top: 120px; }
  .about { padding-top: 110px; padding-bottom: 110px; }
  .contact { grid-template-columns: 1fr; gap: 80px; }
  .contact address { margin-top: 40px; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .footer-note { justify-self: start; }
}

@media (max-width: 560px) {
  .site-header { padding: 0 16px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-name { max-width: 200px; margin-left: 8px; font-size: 12px; }
  .menu-toggle span { display: none; }
  .hero-copy { min-height: 610px; padding: 74px 20px 64px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { height: 108vw; min-height: 420px; }
  .hero-visual img { object-position: 66% center; }
  .hero-visual figcaption { right: 18px; left: 18px; }
  .material-direction, .communication-path, .upgrade, .about, .contact { padding: 88px 20px; }
  .section-heading h2, .flow-copy h2, .path-intro h2, .upgrade h2, .about h2, .contact h2 { font-size: clamp(37px, 11vw, 48px); }
  .section-heading { padding-bottom: 34px; }
  .raw-figure { min-height: 440px; }
  .direction-statement dl div { grid-template-columns: 92px 1fr; }
  .flow-copy { min-height: 400px; padding: 72px 20px; }
  .flow-band { grid-template-columns: 1fr 1fr; }
  .flow-step { min-height: 260px; padding: 30px 16px; }
  .path-row { grid-template-columns: 1fr; }
  .path-row figure { min-height: 250px; }
  .path-row div { padding: 26px 0 38px; }
  .upgrade { min-height: 920px; align-content: end; }
  .upgrade-copy { grid-column: 1 / -1; }
  .upgrade-image img { object-position: 64% center; }
  .upgrade-image::after { background: linear-gradient(0deg, rgba(8,9,9,.98) 0%, rgba(8,9,9,.82) 54%, rgba(8,9,9,.2) 100%); }
  .upgrade-line { grid-template-columns: 1fr; gap: 26px; margin-top: 78px; }
  .upgrade-line i { width: 1px; height: 34px; margin-left: 4px; }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about-copy { padding-top: 10px; }
  .about-image { grid-column: auto; min-height: 430px; }
  .about-image img { object-position: 67% center; }
  .contact { gap: 56px; }
  .field-pair { grid-template-columns: 1fr; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .contact-form .button-primary { width: 100%; }
  .site-footer { grid-template-columns: 1fr; padding: 48px 20px 24px; }
  .site-footer nav { margin-top: 16px; }
  .footer-note { margin-top: 10px; }
}

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