:root {
  --black: #080808;
  --paper: #f5f5f2;
  --ink: #141414;
  --muted: #a5a5a2;
  --line: rgba(20, 20, 20, .15);
  --orange: #ff4d12;
  --pad: clamp(22px, 4vw, 74px);
  --page-max: 100%;
  --content-max: 100%;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: #111; color: #fff; font-family: Arial, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif; -webkit-font-smoothing: antialiased; }
main { width: min(100%, var(--page-max)); margin-inline: auto; overflow: clip; background: var(--black); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #fff; background: var(--orange); }

.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 12px 18px; color: var(--black); background: #fff; transition: top .2s; }
.skip-link:focus { top: 16px; }

.site-header { position: absolute; z-index: 20; top: 0; left: 50%; width: min(100%, var(--page-max)); transform: translateX(-50%); display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; padding: 20px var(--pad); font-size: .78rem; font-weight: 700; letter-spacing: .01em; }
.site-header .email { justify-self: center; }
.menu-button { width: 40px; height: 32px; border: 0; background: transparent; cursor: pointer; display: grid; place-content: center; gap: 8px; }
.menu-button span { display: block; width: 30px; height: 1px; background: currentColor; transition: transform .25s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menu-panel { position: fixed; z-index: 18; inset-block: 0; left: 50%; width: min(100%, var(--page-max)); transform: translateX(-50%); background: rgba(8,8,8,.97); padding: 120px var(--pad) 60px; display: grid; align-content: center; gap: 12px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.menu-panel.is-open { opacity: 1; visibility: visible; }
.menu-panel a { border-bottom: 1px solid rgba(255,255,255,.2); padding: 16px 0; font-size: clamp(2rem, 7vw, 6rem); text-transform: uppercase; }
.menu-panel a span { display: inline-block; width: 70px; color: #777; font-size: .8rem; vertical-align: top; padding-top: 10px; }

.hero { position: relative; min-height: 100svh; height: max(760px, 100svh); overflow: hidden; background: #090909; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center center; transform: scale(1.015); animation: hero-settle 1.5s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.05) 52%, rgba(0,0,0,.1) 100%), linear-gradient(0deg, rgba(0,0,0,.8) 0%, transparent 48%); }
.hero-roles { position: absolute; top: 10%; left: var(--pad); display: flex; flex-direction: column; font-size: clamp(.86rem, 1.1vw, 1.05rem); line-height: 1.35; }
.hero-clock { position: absolute; top: 10%; right: calc(var(--pad) + 20px); display: flex; flex-direction: column; font-size: .8rem; font-weight: 700; letter-spacing: .02em; }
.hero-clock strong { font-size: 1rem; }
.hero-title { position: absolute; left: var(--pad); right: var(--pad); bottom: 7.5%; display: grid; grid-template-columns: minmax(110px, 14%) minmax(0, 1fr); align-items: end; gap: clamp(24px, 3vw, 50px); }
.project-count { display: flex; flex-direction: column; padding-bottom: 15px; }
.project-count strong { font-size: clamp(3.7rem, 8vw, 8rem); line-height: .8; letter-spacing: -.08em; }
.project-count span { margin-top: 14px; font-size: .68rem; font-weight: 700; }
.hero h1 { width: 100%; margin: 0; font-size: clamp(4.75rem, 9.2vw, 9.8rem); line-height: .82; letter-spacing: -.055em; word-spacing: .06em; text-transform: uppercase; }
.hero h1 span { display: block; }
.hero h1 span:last-child { margin-left: 0; }
.hero-footer { position: absolute; left: var(--pad); right: var(--pad); bottom: 18px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.24); display: flex; justify-content: space-between; font-size: .65rem; font-weight: 700; }
.hero-footer div { display: flex; gap: 30px; }
.hero-footer a:hover { color: var(--orange); }

.section-index { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; color: var(--ink); font-size: .8rem; }
.section-index i { display: block; height: 1px; background: var(--line); }
.section-index b { font-weight: 700; }
.section-index.light { color: #fff; }
.section-index.light i { background: rgba(255,255,255,.2); }

.introduction { position: relative; min-height: 100vh; overflow: hidden; background: var(--paper); color: var(--ink); padding: 30px var(--pad) 64px; }
.vertical-label { position: absolute; left: clamp(-172px, -8vw, -80px); top: 53%; transform: translateY(-50%) rotate(-90deg); color: #dfdfdc; font-size: clamp(5rem, 10vw, 10rem); font-weight: 700; line-height: 1; letter-spacing: -.07em; white-space: nowrap; }
.intro-content { width: min(var(--content-max), calc(100% - clamp(120px, 14vw, 250px))); margin: 10vh 0 0 auto; }
.intro-content h2 { max-width: 1360px; margin: 0; font-size: clamp(2rem, 3.7vw, 4.25rem); line-height: 1.12; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.intro-content h2 strong { display: block; color: var(--ink); font-weight: 700; }
.intro-content h2 span { display: block; margin-top: .12em; color: #9f9f9b; font-weight: 500; }
.profile-row { margin-top: clamp(54px, 7vw, 104px); display: grid; grid-template-columns: minmax(150px, 190px) minmax(340px, 1fr) minmax(220px, 290px); gap: clamp(26px, 3.2vw, 58px); align-items: center; }
.profile-photo { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-radius: 10px; background: #fff; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.profile-row p { margin: 0; max-width: 680px; font-size: clamp(1rem, 1.25vw, 1.22rem); line-height: 1.62; text-wrap: pretty; }
.qr-card { position: relative; min-height: 160px; border: 0; background: transparent; display: grid; grid-template-columns: 1fr 92px; grid-template-rows: 1fr auto; align-items: center; gap: 8px 22px; padding: 24px 28px; color: var(--ink); cursor: pointer; text-align: left; }
.qr-card > span:first-child { font-weight: 700; }
.qr-card small { font-size: .72rem; color: #777; }
.qr-crop { grid-row: 1 / 3; grid-column: 2; width: 104px; aspect-ratio: 1; overflow: hidden; display: block; background: transparent; }
.qr-crop img { width: 100%; height: 100%; object-fit: contain; }
.corner { position: absolute; width: 12px; height: 12px; border-color: currentColor; opacity: .65; }
.corner-a { left: 0; top: 0; border-left: 1px solid; border-top: 1px solid; }
.corner-b { right: 0; top: 0; border-right: 1px solid; border-top: 1px solid; }
.corner-c { left: 0; bottom: 0; border-left: 1px solid; border-bottom: 1px solid; }
.corner-d { right: 0; bottom: 0; border-right: 1px solid; border-bottom: 1px solid; }
.intro-note { margin-top: 74px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: #70706d; font-size: .74rem; font-weight: 700; }

.works { position: relative; background: var(--paper); color: var(--ink); padding: 32px var(--pad) 0; }
.works > * { width: min(100%, var(--content-max)); margin-inline: auto; }
.works-heading { display: grid; grid-template-columns: 24% 1fr; align-items: end; padding: 8vw 0 6vw; }
.works-heading p { color: #777; font-size: 1rem; }
.works-heading h2 { margin: 0; font-size: clamp(4rem, 10vw, 11rem); line-height: .78; letter-spacing: -.075em; text-transform: uppercase; }
.work-stack { position: relative; padding-bottom: 12vh; }
.work-card { position: sticky; top: clamp(18px, 4vh, 58px); margin-bottom: 14vh; padding-top: 12px; background: var(--paper); }
.work-card:nth-child(1) { z-index: 1; }
.work-card:nth-child(2) { z-index: 2; margin-top: -4vh; }
.work-card a { display: block; }
.work-meta { display: flex; justify-content: space-between; padding: 0 0 12px; font-size: .72rem; color: #777; }
.work-media { position: relative; overflow: hidden; border-radius: 12px; background: #e8e8e5; box-shadow: 0 18px 70px rgba(0,0,0,.08); }
.work-media img { width: 100%; height: auto; object-fit: contain; object-position: top center; transition: transform .8s cubic-bezier(.2,.75,.2,1), filter .5s; }
.work-media.visionops img { object-position: top center; }
.work-card a:hover .work-media img { transform: scale(1.015); filter: brightness(.9); }
.open-mark { position: absolute; right: 28px; top: 28px; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--black); background: #fff; font-size: 1.45rem; transform: translateY(-100px); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.work-card a:hover .open-mark, .work-card a:focus-visible .open-mark { transform: translateY(0); }
.work-copy { display: grid; grid-template-columns: 1fr minmax(280px, 36%); gap: 40px; padding-top: 24px; }
.work-copy small { color: #777; font-size: .72rem; }
.work-copy h3 { margin: 5px 0 0; font-size: clamp(1.6rem, 3vw, 3.4rem); letter-spacing: -.04em; }
.work-copy p { margin: 0; color: #666; font-size: clamp(1rem, 1.3vw, 1.22rem); line-height: 1.58; }

.contact { min-height: 100svh; padding: 70px var(--pad) 24px; background: #000; overflow: hidden; }
.contact > * { width: min(100%, var(--content-max)); margin-inline: auto; }
.contact-top { display: grid; grid-template-columns: 1fr minmax(230px, 320px); align-items: start; gap: 50px; }
.status-dot { display: inline-block; width: 7px; height: 7px; margin-right: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px var(--orange); }
.contact-top small { color: #7a7a7a; }
.contact-top h2 { margin: 16px 0 0; font-size: clamp(2rem, 3.4vw, 4rem); line-height: 1.03; letter-spacing: -.05em; font-weight: 500; }
.contact-button { position: relative; border: 0; background: transparent; min-height: 100px; padding: 20px; cursor: pointer; font-weight: 700; font-size: .8rem; text-align: center; }
.contact-button:hover { color: var(--orange); }
.closing { margin-top: 10vh; margin-bottom: 4vh; white-space: nowrap; font-size: clamp(5rem, 13.6vw, 13.8rem); line-height: .8; letter-spacing: -.065em; word-spacing: .03em; font-weight: 700; }
.contact-strip { position: relative; height: clamp(34px, 4vw, 56px); overflow: hidden; }
.contact-strip img { position: absolute; left: 50%; bottom: 0; width: max(100%, 900px); height: auto; max-width: none; transform: translateX(-50%); filter: saturate(1.05) contrast(1.08); }
.contact-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; font-size: .68rem; font-weight: 700; }
.contact-bottom a:hover { color: var(--orange); }

.qr-dialog { width: min(92vw, 760px); border: 0; padding: 0; color: var(--ink); background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.qr-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(8px); }
.qr-dialog[open] { display: grid; grid-template-columns: 1fr minmax(280px, 46%); }
.qr-dialog > img { width: 100%; height: 100%; object-fit: contain; background: transparent; padding: 28px; }
.dialog-copy { padding: 54px 36px; }
.dialog-copy span { font-size: .7rem; font-weight: 700; }
.dialog-copy h2 { margin: 70px 0 12px; font-size: 2.4rem; letter-spacing: -.05em; }
.dialog-copy p { color: #777; line-height: 1.5; }
.dialog-close { position: absolute; z-index: 2; right: 12px; top: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); cursor: pointer; font-size: 1.5rem; }

[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes hero-settle { to { transform: scale(1); } }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header .email { display: none; }
  .hero { height: 780px; }
  .hero-image { object-position: 58% center; }
  .hero-clock { top: 11%; right: var(--pad); }
  .hero-title { grid-template-columns: 1fr; gap: 26px; }
  .project-count strong { font-size: 4rem; }
  .hero h1 { font-size: clamp(4.2rem, 16vw, 7.5rem); line-height: .78; }
  .vertical-label { display: none; }
  .intro-content { width: 100%; margin-top: 12vh; }
  .profile-row { grid-template-columns: 180px 1fr; }
  .profile-row .qr-card { grid-column: 1 / -1; min-height: 140px; }
  .works-heading { grid-template-columns: 1fr; gap: 18px; }
  .work-media { height: auto; }
  .work-card { top: 24px; }
}

@media (max-width: 620px) {
  .site-header { padding-top: 16px; }
  .hero { min-height: 720px; height: 100svh; }
  .hero-image { object-position: 56% 50%; }
  .hero-roles { top: 12%; font-size: .72rem; }
  .hero-clock { top: 12%; font-size: .65rem; }
  .hero-clock strong { font-size: .78rem; }
  .hero-title { bottom: 9%; }
  .project-count { padding-bottom: 0; }
  .project-count strong { font-size: 3rem; }
  .project-count span { font-size: .58rem; margin-top: 8px; }
  .hero h1 { font-size: clamp(3rem, 15.5vw, 4.8rem); }
  .hero-footer div { gap: 12px; }
  .introduction { padding-top: 20px; }
  .section-index { font-size: .68rem; }
  .intro-content { margin-top: 10vh; }
  .intro-content h2 { font-size: 2rem; }
  .profile-row { grid-template-columns: 1fr; gap: 24px; }
  .profile-photo { width: min(180px, 54vw); height: auto; }
  .profile-row p { font-size: 1rem; }
  .intro-note { flex-direction: column; gap: 10px; }
  .works { padding-bottom: 80px; }
  .works-heading { padding: 80px 0 60px; }
  .works-heading h2 { font-size: 4rem; }
  .work-stack { padding-bottom: 24px; }
  .work-card { position: relative; top: auto; margin-bottom: 88px; }
  .work-card:nth-child(2) { margin-top: 0; }
  .work-media { height: auto; border-radius: 8px; }
  .work-media.visionops img,
  .work-card a:hover .work-media.visionops img { transform: none; }
  .work-copy { grid-template-columns: 1fr; gap: 18px; }
  .work-meta { font-size: .58rem; }
  .open-mark { width: 46px; height: 46px; transform: none; }
  .contact { min-height: auto; padding-top: 60px; }
  .contact-top { grid-template-columns: 1fr; }
  .contact-button { width: 100%; }
  .closing { margin-top: 100px; font-size: 20vw; white-space: normal; line-height: .82; }
  .contact-bottom { flex-wrap: wrap; }
  .qr-dialog[open] { grid-template-columns: 1fr; }
  .qr-dialog > img { max-height: 56vh; object-fit: contain; object-position: center; }
  .dialog-copy { padding: 34px 28px; }
  .dialog-copy h2 { margin-top: 34px; }
}

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