:root {
  --bg: #071114;
  --bg-deep: #040b0d;
  --surface: #0b181c;
  --surface-raised: #102126;
  --surface-soft: #13282e;
  --ink: #efe9da;
  --ink-soft: #d6d6cd;
  --muted: #a9b1ad;
  --muted-deep: #75817e;
  --line: rgba(220, 229, 221, .14);
  --line-strong: rgba(220, 229, 221, .28);
  --accent: #f1a24b;
  --accent-soft: rgba(241, 162, 75, .14);
  --green: #8ccf74;
  --max: 1180px;
  --header-height: 76px;
  --sans: "Arial Narrow", "DIN Alternate", "Avenir Next Condensed", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --body: "Avenir Next", "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-deep);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(235, 239, 228, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235, 239, 228, .018) 1px, transparent 1px),
    radial-gradient(circle at 72% 8%, rgba(53, 89, 89, .16), transparent 30%),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto, auto;
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

::selection {
  color: var(--bg);
  background: var(--accent);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--bg);
  background: var(--accent);
  font-size: 13px;
  font-weight: 700;
  transform: translateY(-160%);
}

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

.shell {
  width: min(calc(100% - 64px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 15, 18, .91);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  width: 36px;
  height: 37px;
  padding: 0 4px 4px;
  border-bottom: 1px solid var(--accent);
}

.brand-mark::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 13px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--accent);
  border-left: 1px solid var(--accent);
  transform: rotate(30deg) skew(-18deg);
}

.brand-mark i {
  display: block;
  width: 7px;
  border: 1px solid var(--accent);
  border-bottom: 0;
}

.brand-mark i:nth-child(1) { height: 20px; }
.brand-mark i:nth-child(2) { height: 28px; }
.brand-mark i:nth-child(3) { height: 23px; }

.brand-type {
  line-height: 1;
}

.brand-type strong,
.brand-type small {
  display: block;
}

.brand-type strong {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: .12em;
}

.brand-type small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: .18em;
}

.site-header nav {
  align-self: stretch;
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: stretch;
  height: 100%;
  gap: 29px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 13px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width .2s ease;
}

.nav-list a:hover,
.nav-list a[aria-current="page"] {
  color: var(--ink);
}

.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after {
  width: 28px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: 102px;
  min-height: 38px;
  padding: 0 12px 0 15px;
  border: 1px solid rgba(241, 162, 75, .55);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  transition: color .2s ease, background .2s ease;
}

.header-contact:hover {
  color: var(--bg);
  background: var(--accent);
}

.menu-toggle {
  display: none;
}

.eyebrow,
.section-kicker,
.footer-label {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}

.eyebrow::before,
.eyebrow::after {
  color: rgba(241, 162, 75, .72);
}

.eyebrow::before { content: "[ "; }
.eyebrow::after { content: " ]"; }

.home-hero {
  position: relative;
  min-height: min(720px, calc(100vh - var(--header-height)));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.home-hero::before {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, var(--bg) 4%, rgba(7, 17, 20, .97) 28%, rgba(7, 17, 20, .46) 61%, rgba(7, 17, 20, .18) 100%),
    linear-gradient(0deg, var(--bg) 0, transparent 28%);
}

.home-hero::after {
  z-index: 2;
  top: 42px;
  right: max(28px, calc((100vw - var(--max)) / 2));
  width: 46%;
  height: calc(100% - 84px);
  border: 1px solid rgba(241, 162, 75, .12);
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(241, 162, 75, .08) 50%, transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(50% - .5px), rgba(241, 162, 75, .08) 50%, transparent calc(50% + .5px));
}

.hero-art {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(74vw, 1130px);
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  opacity: .88;
  filter: saturate(.86) contrast(1.04);
}

.home-hero-grid {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(280px, 3.3fr);
  align-items: center;
  gap: 76px;
  min-height: min(720px, calc(100vh - var(--header-height)));
  padding-block: 72px;
}

.hero-copy {
  max-width: 690px;
}

.hero-copy h1 {
  margin: 20px 0 0;
  font-family: var(--sans);
  font-size: clamp(50px, 5.6vw, 82px);
  line-height: 1.04;
  letter-spacing: .015em;
}

.hero-copy h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(239, 233, 218, .7);
}

.hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  padding-left: 17px;
  border-left: 2px solid var(--accent);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  min-width: 182px;
  min-height: 49px;
  padding: 0 15px 0 19px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(7, 17, 20, .45);
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease;
}

.button:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.button-primary {
  color: var(--bg);
  border-color: var(--accent);
  background: var(--accent);
}

.button-primary:hover {
  color: var(--ink);
  background: transparent;
}

.button span:last-child {
  font-size: 16px;
  font-weight: 400;
}

.hero-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.hero-disciplines li {
  padding: 6px 8px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .13em;
}

.hero-console {
  position: relative;
  align-self: end;
  width: 100%;
  margin-bottom: 20px;
  border: 1px solid rgba(239, 233, 218, .24);
  background: rgba(7, 17, 20, .74);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-console::before,
.hero-console::after,
.drawing-frame::before,
.drawing-frame::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.hero-console::before,
.drawing-frame::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--accent);
  border-left: 2px solid var(--accent);
}

.hero-console::after,
.drawing-frame::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
}

.console-head {
  display: flex;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .16em;
}

.console-head span:last-child {
  color: var(--green);
}

.console-status {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(140, 207, 116, .1);
}

.console-metric {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 17px 14px;
  border-bottom: 1px solid var(--line);
}

.console-metric:last-child {
  border-bottom: 0;
}

.console-metric strong {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 29px;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.console-metric div {
  display: grid;
  gap: 3px;
}

.console-metric span {
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.35;
}

.console-metric small {
  color: var(--muted-deep);
  font-size: 9px;
  letter-spacing: .04em;
}

.metric-band {
  border-bottom: 1px solid var(--line);
  background: rgba(9, 22, 26, .72);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.metric {
  position: relative;
  min-height: 151px;
  padding: 28px 28px 25px;
  border-left: 1px solid var(--line);
}

.metric:last-child {
  border-right: 1px solid var(--line);
}

.metric small {
  display: block;
  margin-bottom: 17px;
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .16em;
}

.metric strong {
  display: block;
  color: var(--accent);
  font-family: var(--sans);
  font-size: clamp(28px, 3vw, 41px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.45;
}

.section {
  padding-block: 94px;
}

.section-compact {
  padding-block: 76px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .62fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 12px 0 0;
  font-family: var(--sans);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: .02em;
}

.section-heading > p {
  margin: 0;
  padding-left: 18px;
  border-left: 1px solid var(--accent);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.capability-card {
  position: relative;
  min-height: 304px;
  padding: 27px 24px 25px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(140deg, rgba(255,255,255,.025), transparent 48%),
    rgba(10, 25, 29, .7);
  transition: transform .2s ease, background .2s ease;
}

.capability-card:hover {
  z-index: 2;
  background-color: var(--surface-raised);
  transform: translateY(-3px);
}

.capability-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .12em;
}

.capability-index::after {
  content: "";
  width: 42px;
  height: 1px;
  background: rgba(241, 162, 75, .5);
}

.capability-card h3 {
  margin: 47px 0 0;
  font-family: var(--sans);
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: .03em;
}

.capability-card p {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.75;
}

.capability-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.capability-card li,
.tag-list span,
.project-tags span {
  padding: 5px 7px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .08em;
}

.career-section {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(9, 22, 26, .65);
}

.career-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 82px;
  align-items: center;
}

.career-copy h2 {
  margin: 13px 0 0;
  font-family: var(--sans);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.06;
}

.career-copy p {
  max-width: 530px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.career-links {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.career-drawing {
  position: relative;
  min-height: 420px;
  margin-right: calc((100vw - min(calc(100vw - 64px), var(--max))) / -2);
  border-left: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(7,17,20,.72), rgba(7,17,20,.06)),
    url("../img/fm-engineer/hero-building.jpg") center / cover no-repeat;
}

.career-drawing::before {
  content: "CAREER ROUTE / HVAC → FACILITY ENGINEERING → FACILITY MANAGEMENT";
  position: absolute;
  left: 23px;
  bottom: 21px;
  padding: 8px 10px;
  border: 1px solid rgba(241, 162, 75, .46);
  color: var(--accent);
  background: rgba(7, 17, 20, .75);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .12em;
}

.project-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.project-preview-card {
  position: relative;
  min-height: 386px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: transform .25s ease, border-color .25s ease;
}

.project-preview-card:hover {
  border-color: rgba(241, 162, 75, .68);
  transform: translateY(-3px);
}

.project-preview-image {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(7,17,20,.02) 0, rgba(7,17,20,.2) 35%, rgba(7,17,20,.97) 79%),
    url("../img/fm-engineer/project-strip.jpg");
  background-size: 100% 100%, 300% 100%;
  background-repeat: no-repeat;
  filter: saturate(.65) contrast(1.06);
  transition: transform .45s ease;
}

.project-preview-card:hover .project-preview-image {
  transform: scale(1.025);
}

.project-preview-card:nth-child(1) .project-preview-image { background-position: center, left center; }
.project-preview-card:nth-child(2) .project-preview-image { background-position: center, center center; }
.project-preview-card:nth-child(3) .project-preview-image { background-position: center, right center; }

.project-preview-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.project-preview-body > span:first-child {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 8px;
  color: var(--ink-soft);
  border: 1px solid var(--line-strong);
  background: rgba(7,17,20,.68);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .12em;
}

.project-preview-body > span:nth-child(2) {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .12em;
}

.project-preview-body h3 {
  margin: 10px 0 0;
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1.28;
}

.project-preview-body p {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.project-preview-body a {
  margin-top: 18px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 27px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

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

.insight-row {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr) 42px;
  gap: 32px;
  align-items: center;
  min-height: 134px;
  padding: 21px 8px;
  border-bottom: 1px solid var(--line);
  transition: padding-left .2s ease, background .2s ease;
}

.insight-row:hover {
  padding-left: 16px;
  background: rgba(241, 162, 75, .035);
}

.insight-row > span:first-child {
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: .1em;
}

.insight-row h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 21px;
  letter-spacing: .02em;
}

.insight-row p {
  max-width: 720px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.insight-row > span:last-child {
  color: var(--accent);
  font-size: 21px;
  text-align: center;
}

.contact-section {
  padding-block: 45px 88px;
}

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px;
  padding: 45px 48px;
  border: 1px solid rgba(241, 162, 75, .45);
  background:
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(239,233,218,.025) 32px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(239,233,218,.025) 32px),
    var(--surface);
}

.contact-panel h2 {
  margin: 11px 0 0;
  font-family: var(--sans);
  font-size: clamp(30px, 4vw, 47px);
  line-height: 1.12;
}

.contact-panel p {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 87px 73px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(241, 162, 75, .05) 1px, transparent 1px),
    linear-gradient(rgba(241, 162, 75, .05) 1px, transparent 1px),
    rgba(10, 24, 28, .64);
  background-size: 64px 64px, 64px 64px, auto;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 7%;
  width: 33%;
  height: 100%;
  border-inline: 1px solid rgba(241, 162, 75, .1);
  transform: skewX(-28deg);
}

.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: end;
  gap: 54px;
}

.page-hero h1 {
  max-width: 820px;
  margin: 17px 0 0;
  font-family: var(--sans);
  font-size: clamp(43px, 5.8vw, 72px);
  line-height: 1.04;
  letter-spacing: .015em;
}

.page-hero p {
  max-width: 740px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.page-coordinates {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .14em;
}

.resume-shell {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 68px;
  padding-block: 68px 102px;
}

.resume-rail {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 28px);
  border-top: 2px solid var(--accent);
}

.rail-block,
.rail-metric {
  padding: 19px 4px;
  border-bottom: 1px solid var(--line);
}

.rail-block > span,
.rail-metric > span {
  display: block;
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rail-block strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
}

.rail-block p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.rail-metric strong {
  display: block;
  margin-bottom: 5px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 26px;
  line-height: 1;
}

.print-button {
  width: 100%;
  margin-top: 20px;
  padding: 12px 13px;
  border: 1px solid rgba(241, 162, 75, .48);
  color: var(--accent);
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.print-button span {
  float: right;
}

.prose {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.85;
}

.prose > :first-child {
  margin-top: 0 !important;
}

.prose h2 {
  margin: 55px 0 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: .03em;
}

.prose h2::before {
  content: "// ";
  color: var(--accent);
}

.prose h3 {
  margin: 33px 0 6px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.4;
}

.prose h4 {
  margin: 26px 0 8px;
  color: var(--ink);
  font-size: 15px;
}

.prose p {
  margin: 0 0 18px;
}

.prose ul,
.prose ol {
  margin: 11px 0 23px;
  padding-left: 24px;
}

.prose li {
  margin: 7px 0;
  padding-left: 5px;
}

.prose li::marker {
  color: var(--accent);
}

.prose strong {
  color: var(--ink);
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.prose blockquote {
  margin: 28px 0;
  padding: 13px 20px;
  border-left: 2px solid var(--accent);
  background: rgba(241, 162, 75, .055);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose table {
  width: 100%;
  margin: 27px 0;
  border-collapse: collapse;
  font-size: 12px;
}

.prose th,
.prose td {
  padding: 11px 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.prose th {
  color: var(--ink);
  background: rgba(241, 162, 75, .08);
}

.prose img {
  width: auto;
  max-height: 680px;
  margin: 25px auto;
  border: 1px solid var(--line);
}

.resume-document h3 + p {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .07em;
}

.resume-document hr {
  display: none;
}

.project-page {
  padding-block: 76px 102px;
}

.project-case {
  position: relative;
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  gap: 56px;
  padding: 43px 0 58px;
  border-top: 1px solid var(--line-strong);
}

.project-case:last-child {
  border-bottom: 1px solid var(--line-strong);
}

.project-case-number {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 46px;
  line-height: 1;
}

.project-case-meta {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.project-case-meta span {
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .12em;
}

.project-case h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(28px, 3.5vw, 43px);
  line-height: 1.16;
}

.project-summary {
  max-width: 750px;
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 33px;
}

.project-detail {
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.project-detail span {
  color: var(--accent);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
}

.project-detail p {
  margin: 11px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.72;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 24px;
}

.blog-page {
  padding-block: 72px 100px;
}

.filter-note {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .12em;
}

.article-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.article-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 308px;
  padding: 25px;
  border: 1px solid var(--line);
  background: rgba(10, 24, 28, .72);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.article-card:hover {
  border-color: rgba(241, 162, 75, .55);
  background: var(--surface-raised);
  transform: translateY(-3px);
}

.article-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .1em;
}

.article-card-head span:first-child {
  color: var(--accent);
}

.article-card h2 {
  max-width: 480px;
  margin: 42px 0 0;
  font-family: var(--sans);
  font-size: 25px;
  line-height: 1.28;
}

.article-card p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.article-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .1em;
}

.article-card-foot span:last-child {
  color: var(--accent);
  font-size: 17px;
}

.article-page {
  padding-bottom: 108px;
}

.article-header {
  max-width: 980px;
  padding-top: 74px;
  padding-bottom: 54px;
  border-bottom: 1px solid var(--line-strong);
}

.back-link {
  display: block;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 11px;
}

.article-header h1 {
  max-width: 880px;
  margin: 17px 0 0;
  font-family: var(--sans);
  font-size: clamp(40px, 5.2vw, 67px);
  line-height: 1.08;
}

.article-header > p {
  max-width: 720px;
  margin: 21px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 31px;
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: .13em;
}

.article-layout {
  display: grid;
  grid-template-columns: 170px minmax(0, 780px);
  justify-content: center;
  gap: 54px;
  padding-top: 55px;
}

.article-rail {
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 28px);
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 2px solid var(--accent);
}

.article-rail span {
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .13em;
}

.article-rail strong {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
}

.article-rail a {
  margin-top: 17px;
  color: var(--accent);
  font-size: 10px;
}

.article-body {
  min-width: 0;
}

.article-body > h1:first-child {
  display: none;
}

.article-body pre {
  max-width: 100%;
  overflow-x: auto;
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--bg-deep);
  font-size: 12px;
}

.article-body .MathJax_Display,
.article-body mjx-container {
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  padding-block: 47px 40px;
}

.footer-grid strong {
  display: block;
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 20px;
}

.footer-contact a {
  display: block;
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-contact a span {
  color: var(--accent);
}

.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-block: 17px 24px;
  border-top: 1px solid var(--line);
  color: var(--muted-deep);
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .13em;
}

.empty-state {
  padding: 50px;
  border: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1080px) {
  .nav-list { gap: 19px; }
  .header-contact { display: none; }
  .home-hero-grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 38px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .career-grid { gap: 50px; }
  .resume-shell { gap: 47px; }
}

@media (max-width: 860px) {
  :root { --header-height: 66px; }
  .shell { width: min(calc(100% - 38px), var(--max)); }
  .site-header { position: fixed; width: 100%; }
  #main-content { padding-top: var(--header-height); }
  .brand-mark { transform: scale(.84); transform-origin: left center; margin-right: -4px; }
  .brand-type strong { font-size: 13px; }
  .brand-type small { font-size: 7px; }
  .site-header nav { margin-left: auto; }

  .menu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span,
  .menu-toggle span::before,
  .menu-toggle span::after {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transition: transform .2s ease, opacity .2s ease;
  }

  .menu-toggle span { position: relative; }
  .menu-toggle span::before,
  .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -7px; }
  .menu-toggle span::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] span { background: transparent; }
  .menu-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

  .nav-list {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: grid;
    align-content: start;
    height: calc(100vh - var(--header-height));
    height: calc(100svh - var(--header-height));
    gap: 0;
    padding: 13px 20px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 13, 15, .98);
    visibility: hidden;
    transform: translateY(-110%);
    transition: transform .25s ease, visibility .25s;
  }

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

  .nav-list a {
    justify-content: start;
    height: 54px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }

  .nav-list a::after { display: none; }
  .home-hero { min-height: 750px; }
  .home-hero::before { background: linear-gradient(180deg, var(--bg) 3%, rgba(7,17,20,.92) 48%, rgba(7,17,20,.25) 100%); }
  .home-hero::after { display: none; }
  .hero-art { inset: auto -18% 0 auto; width: 118%; height: 60%; object-position: 70% center; opacity: .7; -webkit-mask-image: linear-gradient(180deg, transparent, #000 25%); mask-image: linear-gradient(180deg, transparent, #000 25%); }
  .home-hero-grid { display: block; min-height: 750px; padding-top: 48px; }
  .hero-copy { position: relative; z-index: 2; }
  .hero-copy h1 { font-size: clamp(43px, 11.4vw, 65px); }
  .hero-console { position: absolute; right: 0; bottom: 27px; width: min(285px, 70vw); margin: 0; }
  .console-metric { grid-template-columns: 77px 1fr; padding-block: 13px; }
  .console-metric strong { font-size: 24px; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-top: 1px solid var(--line); }
  .metric:nth-child(4) { border-top: 1px solid var(--line); }
  .metric { min-height: 125px; padding: 22px 18px; }
  .section { padding-block: 70px; }
  .section-heading { grid-template-columns: 1fr; gap: 20px; }
  .section-heading > p { max-width: 650px; }
  .career-grid { grid-template-columns: 1fr; }
  .career-drawing { min-height: 330px; margin-right: calc((100vw - min(calc(100vw - 38px), var(--max))) / -2); }
  .project-preview-grid { grid-template-columns: 1fr; }
  .project-preview-card { min-height: 330px; }
  .project-preview-image { background-size: 100% 100%, 100% 300%; }
  .project-preview-card:nth-child(1) .project-preview-image { background-position: center, center top; }
  .project-preview-card:nth-child(2) .project-preview-image { background-position: center, center center; }
  .project-preview-card:nth-child(3) .project-preview-image { background-position: center, center bottom; }
  .page-hero { padding-block: 70px 57px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 31px; }
  .page-coordinates { grid-template-columns: repeat(3, 1fr); }
  .resume-shell { grid-template-columns: 1fr; padding-block: 52px 78px; }
  .resume-rail { position: static; display: grid; grid-template-columns: repeat(2, 1fr); }
  .rail-block,
  .rail-metric { padding-inline: 13px; border-right: 1px solid var(--line); }
  .print-button { grid-column: 1 / -1; }
  .project-case { grid-template-columns: 150px minmax(0, 1fr); gap: 31px; }
  .project-detail-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-rail { position: static; grid-template-columns: auto 1fr auto; align-items: center; }
}

@media (max-width: 620px) {
  .shell { width: calc(100% - 32px); }
  .home-hero { min-height: 720px; }
  .home-hero-grid { min-height: 720px; padding-top: 38px; }
  .hero-copy h1 { margin-top: 14px; }
  .hero-lead { margin-top: 20px; font-size: 13px; }
  .hero-actions { gap: 8px; margin-top: 22px; }
  .button { min-width: 0; min-height: 44px; gap: 20px; padding-inline: 14px; }
  .hero-disciplines { display: none; }
  .hero-console { width: 78vw; bottom: 21px; }
  .console-metric:nth-last-child(-n+2) { display: none; }
  .metric { min-height: 118px; padding: 19px 14px; }
  .metric strong { font-size: 27px; }
  .metric span { font-size: 10px; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-card { min-height: auto; }
  .capability-card h3 { margin-top: 30px; }
  .career-links { flex-direction: column; }
  .career-links .button { width: 100%; }
  .career-drawing { min-height: 270px; margin-right: calc((100vw - (100vw - 32px)) / -2); }
  .career-drawing::before { left: 12px; right: 12px; bottom: 12px; line-height: 1.6; }
  .insight-row { grid-template-columns: 75px minmax(0, 1fr) 22px; gap: 15px; min-height: 118px; }
  .insight-row p { display: none; }
  .insight-row h3 { font-size: 17px; }
  .contact-panel { grid-template-columns: 1fr; padding: 32px 24px; }
  .contact-panel .button { width: 100%; }
  .page-coordinates { grid-template-columns: 1fr; gap: 7px; }
  .resume-rail { grid-template-columns: 1fr 1fr; }
  .resume-rail .rail-block:first-child,
  .resume-rail .rail-block:nth-last-child(2) { grid-column: 1 / -1; }
  .resume-document { font-size: 13px; }
  .prose h2 { font-size: 24px; }
  .project-case { grid-template-columns: 1fr; gap: 25px; }
  .project-case-meta { grid-template-columns: repeat(3, 1fr); }
  .article-card-grid { grid-template-columns: 1fr; }
  .article-card { min-height: 285px; }
  .article-header { padding-top: 55px; }
  .back-link { margin-bottom: 37px; }
  .article-rail { grid-template-columns: 1fr; }
  .prose { font-size: 13px; }
  .prose table { display: block; overflow-x: auto; white-space: nowrap; }
  .footer-grid { grid-template-columns: 1fr; gap: 29px; }
  .footer-base { flex-direction: column; gap: 8px; }
}

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

@media print {
  :root { color-scheme: light; }
  body { color: #111; background: #fff; font-family: Arial, "Microsoft YaHei", sans-serif; }
  .site-header,
  .site-footer,
  .print-button,
  .page-coordinates,
  .article-rail,
  .back-link { display: none !important; }
  #main-content { padding-top: 0; }
  .page-hero { padding: 24px 0; color: #111; background: #fff; border-color: #999; }
  .page-hero h1 { color: #111; font-size: 34px; }
  .page-hero p,
  .prose,
  .rail-block p { color: #333; }
  .resume-shell { grid-template-columns: 160px 1fr; gap: 28px; width: 100%; padding: 26px 0; }
  .resume-rail { position: static; }
  .rail-block,
  .rail-metric,
  .prose h2 { border-color: #bbb; }
  .rail-block strong,
  .prose h2,
  .prose h3,
  .prose strong { color: #111; }
  .rail-metric strong,
  .eyebrow,
  .prose h2::before { color: #8f4e08; }
  .prose { font-size: 10pt; line-height: 1.52; }
  .prose h2 { margin-top: 25px; font-size: 17pt; }
  .prose h3 { margin-top: 18px; font-size: 12pt; break-after: avoid; }
  .prose p,
  .prose ul,
  .prose ol { margin-bottom: 9px; }
  a { color: inherit !important; text-decoration: none !important; }
}
