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

:root {
  --paper: #eeebe5;
  --paper-light: #f8f6f1;
  --ink: #171716;
  --ink-deep: #101111;
  --muted: #5b5954;
  --alloy: #676563;
  --brass: #76562d;
  --brass-light: #d3c3aa;
  --furnace: #8b1010;
  --green: #253d34;
  --line: #aaa59c;
  --focus: #005fcc;
  --page: clamp(20px, 4.5vw, 78px);
  --max: 1460px;
  color-scheme: light;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 82px; }
body { min-width: 320px; margin: 0; background: var(--paper); }
body.menu-open { overflow: hidden; }
::selection { color: #fff; background: var(--furnace); }
a { color: inherit; text-underline-offset: .3em; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
figure { margin: 0; }
h1, h2, h3, p, dl, dd { margin-top: 0; }
h1, h2, h3 { font-family: "Smiley Sans", "Segoe UI", sans-serif; font-weight: 700; }
h1, h2 { letter-spacing: -.035em; text-wrap: balance; }
p { line-height: 1.75; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 12px 16px; color: #fff; background: var(--ink-deep); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 11px var(--page); background: rgba(238,235,229,.97); border-bottom: 1px solid var(--line); }
.brand { min-height: 54px; display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 auto; fill: none; stroke: var(--ink); stroke-width: 1.4; }
.brand-mark circle { fill: var(--furnace); stroke: none; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: clamp(14px, 1.12vw, 18px); letter-spacing: -.02em; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 12px; }
.desktop-nav { display: flex; gap: clamp(18px, 2.3vw, 38px); align-items: center; }
.desktop-nav a { min-height: 46px; display: inline-flex; align-items: center; color: var(--muted); border-bottom: 1px solid transparent; font-size: 14px; text-decoration: none; }
.desktop-nav a:hover { color: var(--ink); border-color: var(--furnace); }
.menu-button { display: none; width: 48px; height: 48px; border: 1px solid var(--ink); background: transparent; cursor: pointer; }
.menu-button span { display: block; width: 21px; height: 1px; margin: 5px auto; background: currentColor; }

.mobile-menu { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 20px; color: var(--paper-light); background: var(--ink-deep); border: 0; }
.mobile-menu::backdrop { background: rgba(16,17,17,.76); }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.28); }
.menu-close { width: 48px; height: 48px; color: inherit; background: transparent; border: 1px solid rgba(255,255,255,.62); cursor: pointer; }
.menu-close svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.mobile-menu nav { display: flex; flex-direction: column; padding: 28px 0; }
.mobile-menu nav a { min-height: 58px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.22); font: 700 30px/1 "Smiley Sans", sans-serif; text-decoration: none; }
.mobile-menu > p { max-width: 28ch; color: #d9d2c7; }

.hero { min-height: calc(100vh - 78px); display: grid; grid-template-columns: 42fr 58fr; border-bottom: 1px solid var(--ink); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(76px, 8vw, 130px) var(--page) 60px; }
.specimen-index { width: 160px; margin-bottom: clamp(30px, 4vw, 58px); fill: var(--paper); stroke: var(--brass); stroke-width: 1.5; }
.specimen-index circle:last-child { fill: var(--furnace); stroke: var(--furnace); }
.hero h1 { max-width: 11.5ch; margin-bottom: 28px; font-size: clamp(50px, 5.3vw, 88px); line-height: 1.01; }
.hero h1 span { color: var(--brass); }
.hero-copy > p { max-width: 38em; color: var(--muted); font-size: clamp(16px, 1.16vw, 19px); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 18px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; color: inherit; background: transparent; border: 1px solid var(--ink); border-radius: 0; cursor: pointer; font-weight: 700; text-decoration: none; }
.button--primary { color: #fff; background: var(--ink); }
.button--primary:hover { background: var(--furnace); border-color: var(--furnace); }
.button:disabled { color: #fff; background: #77736d; border-color: #77736d; cursor: not-allowed; }
.text-link { min-height: 48px; display: inline-flex; align-items: center; color: var(--ink); font-weight: 700; }
.hero-register { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: clamp(45px, 6vw, 92px) 0 0; padding-top: 18px; border-top: 1px solid var(--line); }
.hero-register dt { color: var(--brass); font-size: 12px; letter-spacing: .11em; }
.hero-register dd { margin: 8px 0 0; font-size: 14px; }
.hero-media { position: relative; min-height: 650px; overflow: hidden; background: var(--ink-deep); }
.hero-media img { object-position: 57% center; }
.trace-diagram { position: absolute; inset: 15% 0 auto; height: 55%; pointer-events: none; }
.trace-diagram svg { width: 100%; height: 100%; overflow: visible; }
.trace-base { fill: none; stroke: rgba(255,255,255,.42); stroke-width: 1; vector-effect: non-scaling-stroke; }
.trace-live { fill: none; stroke: var(--brass-light); stroke-width: 2; stroke-dasharray: 1400; stroke-dashoffset: 1400; vector-effect: non-scaling-stroke; animation: trace-draw 1.8s cubic-bezier(.16,1,.3,1) .2s forwards; }
.trace-diagram circle { fill: var(--ink-deep); stroke: var(--brass-light); stroke-width: 2; vector-effect: non-scaling-stroke; }
@keyframes trace-draw { to { stroke-dashoffset: 0; } }
.hero-media figcaption { position: absolute; right: 0; bottom: 0; left: 0; display: flex; justify-content: space-between; gap: 20px; padding: 18px 24px; color: #fff; background: rgba(16,17,17,.92); border-top: 1px solid rgba(255,255,255,.35); font-size: 12px; letter-spacing: .08em; }

.section { padding: clamp(82px, 9vw, 145px) var(--page); border-bottom: 1px solid var(--line); }
.section-heading { max-width: var(--max); display: grid; grid-template-columns: .5fr 1.25fr .85fr; gap: clamp(32px, 6vw, 100px); align-items: start; margin: 0 auto clamp(55px, 7vw, 105px); }
.section-index { color: var(--brass); font-size: 12px; letter-spacing: .12em; }
.section-heading h2 { margin-bottom: 0; font-size: clamp(42px, 4.7vw, 74px); line-height: 1.06; }
.section-heading p { max-width: 45ch; margin-bottom: 0; color: var(--muted); }
.material-spread { max-width: var(--max); display: grid; grid-template-columns: 1.18fr .82fr; margin: auto; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.material-spread > figure { position: relative; min-height: 640px; border-right: 1px solid var(--ink); overflow: hidden; }
.material-spread > figure img { object-position: 62% center; }
.material-spread figcaption { position: absolute; bottom: 0; left: 0; padding: 12px 16px; color: #fff; background: var(--ink-deep); font-size: 12px; }
.material-copy { display: grid; align-content: center; }
.material-copy article { display: grid; grid-template-columns: 58px 1fr; gap: 22px; padding: clamp(28px, 4vw, 62px); border-bottom: 1px solid var(--line); }
.material-copy article > span { color: var(--brass); font-variant-numeric: tabular-nums; }
.material-copy h3 { margin-bottom: 10px; font-size: clamp(27px, 2.2vw, 36px); }
.material-copy p { margin-bottom: 0; color: var(--muted); }
.material-link { margin: 28px clamp(28px, 4vw, 62px); justify-self: start; }

.process-section { color: var(--paper-light); background: var(--ink-deep); }
.process-header { max-width: none; display: grid; grid-template-columns: .42fr 1.25fr .85fr; gap: clamp(32px, 6vw, 100px); align-items: end; border-color: rgba(255,255,255,.22); }
.process-header h2 { max-width: 13ch; margin-bottom: 0; font-size: clamp(42px, 5vw, 78px); line-height: 1.04; }
.process-header p { max-width: 44ch; margin-bottom: 0; color: #cbc5bb; }
.process-header .section-index { color: var(--brass-light); }
.process-ledger { margin: 0; padding: 0; list-style: none; }
.process-ledger li { min-height: 280px; display: grid; grid-template-columns: 42fr 58fr; border-bottom: 1px solid rgba(255,255,255,.24); }
.process-copy { display: grid; grid-template-columns: 72px 1fr; gap: clamp(20px, 3vw, 54px); align-content: center; padding: 46px var(--page); }
.process-copy > span { width: 52px; height: 52px; display: grid; place-items: center; color: var(--brass-light); border: 1px solid var(--brass); font-variant-numeric: tabular-nums; }
.process-copy h3 { margin-bottom: 10px; font-size: clamp(30px, 3vw, 48px); }
.process-copy p { max-width: 37ch; margin-bottom: 0; color: #cbc5bb; }
.process-ledger figure { min-height: 280px; overflow: hidden; }
.process-ledger li:nth-child(even) .process-copy { order: 2; }
.process-ledger li:nth-child(even) figure { order: 1; }

.green { display: grid; grid-template-columns: .92fr 1.08fr; padding: 0; background: var(--paper-light); }
.green-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(78px, 9vw, 145px) var(--page); }
.green-copy h2 { max-width: 11ch; margin: 30px 0; font-size: clamp(44px, 5vw, 78px); line-height: 1.04; }
.green-copy p { max-width: 51ch; color: var(--muted); }
.green-route { display: flex; align-items: center; margin-top: 40px; }
.green-route span { flex: 1; height: 1px; background: var(--brass); }
.green-route i { width: 12px; height: 12px; flex: 0 0 auto; border: 2px solid var(--brass); background: var(--paper-light); border-radius: 50%; }
.green > figure { min-height: 680px; overflow: hidden; }
.green > figure img { object-position: 70% center; }

.recognition { color: #fff; background: var(--green); border-color: rgba(255,255,255,.25); }
.recognition-head { max-width: var(--max); display: grid; grid-template-columns: .5fr 2.1fr; gap: clamp(32px, 6vw, 100px); margin: 0 auto 70px; }
.recognition h2 { max-width: 13ch; margin-bottom: 0; font-size: clamp(42px, 5vw, 76px); line-height: 1.06; }
.recognition .section-index { color: var(--brass-light); }
.recognition-register { max-width: var(--max); display: grid; grid-template-columns: 1fr 1fr; margin: auto; border-top: 1px solid rgba(255,255,255,.55); border-bottom: 1px solid rgba(255,255,255,.55); }
.recognition-register article { min-height: 290px; display: grid; grid-template-columns: 100px 1fr; gap: 28px; align-content: center; padding: 46px; }
.recognition-register article + article { border-left: 1px solid rgba(255,255,255,.55); }
.recognition-register article > span { color: var(--brass-light); font-size: 18px; }
.recognition-register h3 { margin-bottom: 12px; font-size: clamp(28px, 2.7vw, 43px); }
.recognition-register p { margin-bottom: 0; color: #e0ddd6; }

.contact { max-width: calc(var(--max) + var(--page) * 2); display: grid; grid-template-columns: .86fr 1.14fr; gap: clamp(52px, 8vw, 130px); margin: auto; }
.contact-media { position: relative; min-height: 760px; overflow: hidden; border: 1px solid var(--line); }
.contact-media img { object-position: 52% center; }
.contact-media figcaption { position: absolute; right: 0; bottom: 0; left: 0; padding: 13px 16px; color: #fff; background: var(--ink-deep); font-size: 11px; letter-spacing: .1em; }
.contact-panel { align-self: center; }
.contact-panel h2 { max-width: 10ch; margin: 30px 0 24px; font-size: clamp(44px, 5vw, 78px); line-height: 1.04; }
.contact-panel > p { max-width: 48ch; color: var(--muted); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; margin-top: 38px; }
.contact-form label { margin-top: 12px; color: var(--ink); font-size: 14px; font-weight: 700; }
.contact-form label:nth-of-type(odd), .contact-form input:nth-of-type(odd) { grid-column: 1; }
.contact-form label:nth-of-type(even), .contact-form input:nth-of-type(even) { grid-column: 2; }
.contact-form label[for="material-direction"], .contact-form select, .contact-form label[for="message"], .contact-form textarea, .contact-form button, .form-status { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; color: var(--ink); background: var(--paper-light); border: 1px solid #6f6b65; border-radius: 0; caret-color: var(--furnace); }
.contact-form input:disabled, .contact-form select:disabled, .contact-form textarea:disabled { color: #69655f; background: #dfdcd6; }
.contact-form textarea { resize: vertical; }
.contact-form .button { min-width: 160px; justify-self: start; margin-top: 20px; }
.form-status { min-height: 28px; margin: 6px 0 0; color: var(--green); font-weight: 700; }
.contact-form.is-invalid .form-status { color: var(--furnace); }
.noscript-note { margin: 0; padding: 18px var(--page); color: #fff; background: var(--furnace); text-align: center; }

.site-footer { min-height: 124px; display: grid; grid-template-columns: 1fr auto auto; gap: 42px; align-items: center; padding: 28px var(--page); color: #fff; background: var(--ink-deep); }
.footer-brand { min-height: 48px; display: inline-flex; align-items: center; font-family: "Smiley Sans", sans-serif; font-size: 20px; text-decoration: none; }
.site-footer nav { display: flex; gap: 26px; }
.site-footer nav a { min-height: 48px; display: inline-flex; align-items: center; color: #d9d2c7; font-size: 14px; }
.site-footer p { margin: 0; color: #d9d2c7; font-size: 13px; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .menu-button { display: block; flex: 0 0 auto; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 640px; }
  .hero-media { min-height: 640px; }
  .section-heading, .process-header { grid-template-columns: .55fr 1.45fr; }
  .section-heading p, .process-header p { grid-column: 2; }
  .material-spread, .green, .contact { grid-template-columns: 1fr; }
  .material-spread > figure { min-height: 560px; border-right: 0; border-bottom: 1px solid var(--ink); }
  .green > figure { min-height: 560px; }
  .contact-media { min-height: 560px; }
  .site-footer { grid-template-columns: 1fr; gap: 10px; }
}

@media (max-width: 720px) {
  :root { --page: 20px; }
  html { scroll-padding-top: 74px; }
  .site-header { min-height: 74px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand strong { max-width: 17em; font-size: 13px; }
  .brand small { display: none; }
  .hero-copy { min-height: 620px; padding-top: 82px; }
  .hero h1 { font-size: clamp(44px, 13.3vw, 58px); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 6px; }
  .hero-register { grid-template-columns: 1fr; gap: 16px; }
  .hero-media { min-height: 500px; }
  .hero-media img { object-position: 62% center; }
  .hero-media figcaption { flex-direction: column; gap: 7px; }
  .section { padding-top: 78px; padding-bottom: 78px; }
  .section-heading, .process-header { grid-template-columns: 1fr; gap: 24px; }
  .section-heading p, .process-header p { grid-column: auto; }
  .section-heading h2, .process-header h2 { font-size: 42px; }
  .material-spread > figure { min-height: 380px; }
  .material-copy article { grid-template-columns: 44px 1fr; padding: 30px 20px; }
  .process-ledger li { grid-template-columns: 1fr; }
  .process-copy, .process-ledger li:nth-child(even) .process-copy { order: 1; grid-template-columns: 56px 1fr; padding: 36px 20px; }
  .process-copy > span { width: 46px; height: 46px; }
  .process-ledger figure, .process-ledger li:nth-child(even) figure { order: 2; min-height: 220px; }
  .green-copy h2, .recognition h2, .contact-panel h2 { font-size: 42px; }
  .green > figure { min-height: 400px; }
  .recognition-head { grid-template-columns: 1fr; gap: 24px; }
  .recognition-register { grid-template-columns: 1fr; }
  .recognition-register article { min-height: 250px; grid-template-columns: 76px 1fr; padding: 34px 20px; }
  .recognition-register article + article { border-top: 1px solid rgba(255,255,255,.55); border-left: 0; }
  .contact-media { min-height: 400px; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form label, .contact-form input, .contact-form select, .contact-form textarea, .contact-form button, .form-status { grid-column: 1 !important; }
  .site-footer nav { flex-wrap: wrap; gap: 4px 20px; }
}

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