@charset "UTF-8";

:root {
  color-scheme: light;
  --white: #fff;
  --ink: #131722;
  --muted: #626d80;
  --blue: #2457e8;
  --blue-dark: #1742bc;
  --pale: #f4f7fe;
  --line: #dfe5ef;
  --radius: 9px;
  --space: clamp(24px, 4.4vw, 64px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-synthesis: none;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
button, [role="tab"] { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button, a { outline-offset: 5px; }
:focus-visible { outline: 3px solid var(--blue); }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { text-wrap: balance; }
::selection { background: #dce6ff; }
.container { width: min(1320px, calc(100% - var(--space) * 2)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 16px; z-index: 5; transform: translateY(-160%); background: var(--blue); color: white; padding: 12px 18px; border-radius: 5px; }
.skip-link:focus { transform: translateY(0); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 2; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
.identity { display: flex; align-items: center; gap: 27px; flex-shrink: 0; }
.identity-name { font-size: 27px; font-weight: 760; letter-spacing: -.03em; }
.identity-role { color: var(--muted); font-size: 15px; }
.top-nav { display: flex; align-items: center; gap: 32px; font-size: 15px; }
.top-nav > a:not(.button):hover { color: var(--blue); }

/* Button text/arrow interaction adapted from Uiverse, AKAspidey01, MIT.
   https://uiverse.io/AKAspidey01/ugly-horse-68
   Colors, layout, visibility, focus and reduced motion follow this site's design. */
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 12px 22px; border-radius: 6px; border: 1px solid transparent; font-weight: 650; font-size: 16px; line-height: 1.45; white-space: nowrap; transition: background-color .18s ease, border-color .18s ease; }
.button-primary { color: var(--white); background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-outline { color: var(--blue); background: transparent; border-color: var(--blue); }
.button-outline:hover { background: var(--pale); }
.header-contact { min-height: 45px; padding: 9px 22px; font-size: 15px; }
.icon { display: inline-block; flex: 0 0 auto; width: 21px; height: 21px; background: currentColor; mask: no-repeat center / contain; -webkit-mask: no-repeat center / contain; }
.icon-arrow { mask-image: url('./assets/arrow-right.svg'); -webkit-mask-image: url('./assets/arrow-right.svg'); }
.icon-up { mask-image: url('./assets/arrow-up.svg'); -webkit-mask-image: url('./assets/arrow-up.svg'); }
.icon-download { mask-image: url('./assets/download.svg'); -webkit-mask-image: url('./assets/download.svg'); }
.button .icon, .text-link .icon { transition: transform .18s ease; }
.button:hover .icon-arrow, .text-link:hover .icon-arrow { transform: translateX(3px); }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding: 4px 0; border: 0; background: none; color: var(--blue); font-size: 16px; font-weight: 600; text-align: left; }
.text-link:hover { color: var(--blue-dark); }

.hero { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; gap: 62px; padding-block: 100px 102px; border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(36px, 3.85vw, 58px); line-height: 1.33; letter-spacing: -.035em; font-weight: 760; }
.hero h1 span { color: var(--blue); }
.hero-intro { max-width: 600px; margin-top: 28px; color: var(--muted); font-size: 18px; line-height: 1.95; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 30px; margin-top: 33px; }
.journey-figure { min-width: 0; padding-top: 20px; }
.journey-figure svg { display: block; width: calc(100% + 12px); overflow: visible; }
.journey-line { fill: none; stroke: var(--blue); stroke-width: 2.4; }
.journey-dot { fill: var(--white); stroke: var(--blue); stroke-width: 3; }
.journey-guide { fill: none; stroke: var(--line); stroke-width: 1.3; stroke-dasharray: 4 4; }
.journey-name { fill: var(--ink); font: 650 21px -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
.journey-detail { fill: var(--muted); font: 16px -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
.journey-figure figcaption { font-size: 15px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 3px; }

.work-section { padding-top: 73px; }
.section-heading h2 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.025em; line-height: 1.4; font-weight: 700; }
.section-heading p { margin-top: 12px; font-size: 18px; color: var(--muted); }
.route-heading { text-align: center; margin-bottom: 40px; }
.stage-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 42px; }
.stage-tab { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; min-height: 94px; padding: 14px 20px; border: 1px solid #cfd8e7; border-radius: var(--radius); background: var(--white); text-align: left; transition: background-color .16s ease, border-color .16s ease; }
.stage-number { font-size: 23px; color: var(--muted); line-height: 1.2; font-weight: 550; margin-bottom: 5px; }
.stage-name { font-size: 17px; font-weight: 650; white-space: nowrap; }
.stage-tab:hover { border-color: var(--blue); }
.stage-tab[aria-selected="true"] { color: white; border-color: var(--blue); background: var(--blue); }
.stage-tab[aria-selected="true"] .stage-number { color: white; }
.stage-connector { position: absolute; right: -33px; top: 50%; transform: translateY(-50%); width: 24px; color: #7a8699; }
.feedback-return { position: relative; width: 66.5%; height: 34px; margin: 10px 8.5% 44px 25%; border: 1px solid #8994a4; border-top: 0; border-radius: 0 0 10px 10px; color: var(--muted); }
.feedback-return > .icon { position: absolute; left: -11px; top: -8px; background-color: #8994a4; }
.feedback-label { position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); padding: 0 16px; background: var(--white); white-space: nowrap; font-size: 15px; }
.stage-panel { background: var(--pale); padding: 34px 38px; border-radius: 10px; }
.stage-label { color: var(--muted); font-size: 16px; margin-bottom: 5px; }
.stage-panel h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.45; letter-spacing: -.02em; font-weight: 700; }
.stage-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; margin-top: 27px; }
.stage-columns > div + div { border-left: 1px solid #d8e0ee; padding-left: 38px; }
.stage-panel h4 { font-size: 17px; font-weight: 650; }
.work-list { padding: 0; margin: 12px 0 0; list-style: none; }
.work-list li { padding: 8px 0; font-size: 16px; color: #47536a; border-bottom: 1px solid #d8e0ee; }
.work-list li:last-child { border-bottom: 0; }
.noscript-note { padding: 24px 0; }

.projects-section { padding-block: 86px 78px; margin-top: 73px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-explorer { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 38px; margin-top: 45px; }
.project-tabs { display: flex; flex-direction: column; align-self: start; gap: 9px; padding-right: 0; }
.project-tab { min-height: 67px; padding: 16px 18px; background: transparent; border: 0; border-radius: 7px; text-align: left; font-size: 17px; color: #47536a; line-height: 1.7; }
.project-tab:hover { background: #f8f9fc; color: var(--blue); }
.project-tab[aria-selected="true"] { color: var(--ink); background: #edf3ff; font-weight: 650; }
.project-panel { padding-left: 36px; border-left: 1px solid var(--line); min-width: 0; }
.project-panel h3 { font-size: clamp(26px, 2.4vw, 33px); letter-spacing: -.02em; line-height: 1.5; }
.project-meta { margin-top: 8px; color: var(--muted); font-size: 15px; }
.case-section { margin-top: 25px; }
.case-section h4 { font-size: 17px; font-weight: 650; margin-bottom: 7px; }
.case-section > p { color: #525e73; font-size: 16px; line-height: 1.9; }
.case-flow { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 34px; padding: 0; margin: 26px 0 0; list-style: none; }
.case-flow li { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; text-align: center; padding: 10px 8px; font-size: 15px; font-weight: 550; background: #edf3ff; color: #4a5c7b; border-radius: 6px; }
.case-flow .icon { position: absolute; right: -27px; top: 18px; width: 20px; height: 20px; color: #607cb5; }
.case-section > .project-result { color: var(--ink); font-size: 22px; font-weight: 650; line-height: 1.6; }
.project-result strong { color: var(--blue); font-weight: 650; }
.case-section > .result-note { margin-top: 7px; color: var(--muted); font-size: 15px; }
.project-stack { margin-top: 20px; color: var(--muted); font-size: 13px; }

.about-section { display: grid; grid-template-columns: 1.05fr 1fr; gap: 100px; padding-block: 65px 68px; }
.about-section h2 { font-size: 30px; line-height: 1.4; letter-spacing: -.025em; font-weight: 650; margin-bottom: 18px; }
.about-section p { font-size: 16px; color: var(--muted); line-height: 1.95; }
.about-copy p + p { margin-top: 12px; }
.contact { scroll-margin-top: 110px; }
.email-address { color: var(--blue); display: inline-block; font-size: 16px; margin-top: 11px; overflow-wrap: anywhere; }
.email-address:hover { text-decoration: underline; }
.contact-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.site-footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 20px 24px; font-size: 14px; }
.site-footer p { font-weight: 650; }
.site-footer p span { margin-left: 24px; font-size: 13px; font-weight: 400; color: var(--muted); }
.back-to-top { color: var(--muted); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.back-to-top:hover { color: var(--blue); }
.back-to-top .icon { width: 16px; height: 16px; }

@media (min-width: 1550px) { .hero { gap: 80px; } }
@media (max-width: 1180px) {
  .identity { gap: 15px; }
  .identity-role { font-size: 13px; }
  .top-nav { gap: 22px; }
  .hero { gap: 36px; padding-block: 78px 86px; }
  .hero h1 { font-size: clamp(34px, 4vw, 50px); }
  .hero-intro { font-size: 17px; }
  .stage-tabs { gap: 28px; }
  .stage-tab { padding: 13px; }
  .stage-connector { right: -24px; width: 20px; }
  .stage-name { font-size: 15px; }
  .project-explorer { grid-template-columns: 245px minmax(0,1fr); gap: 25px; }
  .project-panel { padding-left: 26px; }
  .project-tab { font-size: 16px; padding-inline: 14px; }
  .about-section { gap: 65px; }
}
@media (max-width: 920px) {
  .identity-role { display: none; }
  .hero { grid-template-columns: 1fr; gap: 20px; padding-block: 65px 70px; }
  .hero h1 { font-size: clamp(39px, 6.1vw, 56px); }
  .hero-intro { max-width: 660px; }
  .journey-figure { max-width: 650px; width: calc(100% - 20px); justify-self: center; padding: 15px 10px 0; }
  .journey-figure svg { width: 100%; }
  .journey-figure figcaption { margin-top: -15px; }
  .stage-tabs { gap: 18px; }
  .stage-tab { min-height: 86px; padding: 11px 9px; }
  .stage-name { font-size: 13px; }
  .stage-number { font-size: 20px; }
  .stage-connector { right: -17px; width: 15px; }
  .stage-panel { padding: 28px; }
  .stage-columns { gap: 25px; }
  .stage-columns > div + div { padding-left: 25px; }
  .work-list li { font-size: 15px; }
  .project-explorer { grid-template-columns: 200px minmax(0,1fr); gap: 19px; }
  .project-panel { padding-left: 20px; }
  .project-tab { padding: 12px; font-size: 15px; }
  .case-flow { gap: 22px; }
  .case-flow li { font-size: 13px; }
  .case-flow .icon { right: -19px; width: 17px; }
  .about-section { gap: 40px; }
}
@media (max-width: 640px) {
  :root { --space: 23px; }
  html { scroll-padding-top: 88px; }
  .header-inner { min-height: 72px; gap: 10px; }
  .identity-name { font-size: 24px; }
  .top-nav { gap: 0; }
  .top-nav > a:not(.header-contact) { display: none; }
  .header-contact { font-size: 14px; padding: 9px 18px; min-height: 43px; }
  .hero { padding-top: 48px; padding-bottom: 53px; gap: 27px; }
  .hero h1 { font-size: clamp(29px, 6.75vw, 42px); line-height: 1.42; letter-spacing: -.025em; }
  .hero-intro { font-size: 16px; line-height: 1.9; margin-top: 22px; }
  .hero-actions { gap: 16px 24px; margin-top: 25px; }
  .button { font-size: 15px; min-height: 49px; padding-inline: 19px; gap: 14px; }
  .text-link { font-size: 15px; }
  .hero-actions .text-link { min-height: 44px; }
  .journey-figure { width: calc(100% - 16px); padding: 8px 4px 0; }
  .journey-figure svg { width: 100%; }
  .journey-name { font-size: 32px; }
  .journey-detail { font-size: 28px; }
  .journey-figure figcaption { font-size: 13px; margin-top: 0; padding-top: 15px; }
  .work-section { padding-top: 49px; }
  .section-heading h2 { font-size: 28px; line-height: 1.45; }
  .section-heading p { font-size: 16px; margin-top: 10px; }
  .route-heading { text-align: left; margin-bottom: 28px; }
  .stage-tabs { grid-template-columns: 1fr; gap: 17px; }
  .stage-tab { min-height: 60px; padding: 12px 18px; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 8px; }
  .stage-number { font-size: 20px; margin: 0; }
  .stage-name { font-size: 16px; }
  .stage-connector { width: 16px; height: 16px; right: auto; top: auto; bottom: -17px; left: 25px; transform: rotate(90deg); }
  .feedback-return { width: calc(100% - 32px); height: 26px; margin: 10px 0 36px 32px; }
  .feedback-label { font-size: 12px; padding-inline: 9px; bottom: -11px; }
  .stage-panel { padding: 25px 22px; }
  .stage-panel h3 { font-size: 26px; }
  .stage-label { font-size: 14px; }
  .stage-columns { grid-template-columns: 1fr; gap: 24px; margin-top: 25px; }
  .stage-columns > div + div { border-left: 0; padding-left: 0; }
  .stage-panel h4 { font-size: 16px; }
  .work-list { margin-top: 8px; }
  .work-list li { padding: 8px 0; }
  .projects-section { margin-top: 51px; padding-top: 48px; padding-bottom: 45px; }
  .project-explorer { grid-template-columns: 1fr; gap: 26px; margin-top: 27px; }
  .project-tabs { flex-direction: row; flex-wrap: wrap; gap: 7px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .project-tab { min-height: 46px; font-size: 14px; padding: 9px 12px; text-align: left; max-width: 100%; }
  .project-panel { border-left: 0; padding-left: 0; }
  .project-panel h3 { font-size: 26px; }
  .project-meta { font-size: 14px; }
  .case-section { margin-top: 23px; }
  .case-section h4 { font-size: 16px; }
  .case-section > p { font-size: 15px; }
  .case-flow { gap: 17px; margin-top: 23px; }
  .case-flow li { min-height: 55px; padding: 8px 5px; font-size: 12px; }
  .case-flow .icon { right: -16px; width: 15px; top: 19px; }
  .case-section > .project-result { font-size: 21px; }
  .case-section > .result-note { font-size: 14px; }
  .project-stack { font-size: 12px; line-height: 1.8; }
  .about-section { grid-template-columns: 1fr; gap: 39px; padding-block: 44px 39px; }
  .about-section h2 { font-size: 27px; margin-bottom: 14px; }
  .about-section p { font-size: 15px; }
  .contact-actions { gap: 12px; margin-top: 20px; }
  .site-footer { align-items: flex-start; gap: 14px; padding-block: 18px 22px; }
  .site-footer p { font-size: 13px; }
  .site-footer p span { display: block; margin: 4px 0 0; font-size: 12px; }
  .back-to-top { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header { position: static; }
  .container { width: 100%; }
  .hero { padding-block: 30px; }
  .hero-actions, .stage-tabs, .feedback-return, .project-tabs, .contact-actions, .back-to-top { display: none; }
  .project-explorer, .about-section { grid-template-columns: 1fr; }
  .project-panel { padding: 0; border: 0; }
  .stage-panel { background: #f4f7fe; print-color-adjust: exact; }
}
