:root {
  --bg: #f7fbfc;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-strong: #ffffff;
  --ink: #101722;
  --ink-soft: #34424f;
  --muted: #7a8793;
  --line: #dbe7ee;
  --line-strong: #c7d7df;
  --cyan: #0099a8;
  --cyan-bright: #15c0ce;
  --orange: #ff6a3d;
  --blue: #277fe8;
  --shadow: 0 18px 60px rgba(15, 48, 70, 0.10);
  --shadow-soft: 0 12px 36px rgba(20, 45, 60, 0.08);
  --radius: 8px;
  --font: "Inter", "HarmonyOS Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(247, 251, 252, 0.44), rgba(247, 251, 252, 0.54)),
    url("assets/design-grid-bg-image2.png") top center / cover no-repeat fixed,
    radial-gradient(circle at 8% 16%, rgba(0, 175, 190, 0.10), transparent 26%),
    radial-gradient(circle at 82% 22%, rgba(255, 106, 61, 0.08), transparent 24%),
    linear-gradient(90deg, rgba(0, 140, 160, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 140, 160, 0.05) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 80px 80px, 80px 80px, auto;
  color: var(--ink);
  font-family: var(--font);
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(18, 111, 126, 0.12) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  mask-image: linear-gradient(90deg, #000 0 90px, transparent 90px 100%, #000);
  opacity: 0.55;
}

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

button {
  font: inherit;
}

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

.shell {
  width: min(1540px, calc(100vw - 64px));
  margin: 0 auto;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 62px;
  padding: 0 38px;
  border-bottom: 1px solid rgba(198, 215, 224, 0.82);
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
}

.brand {
  width: fit-content;
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.brand span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 54px;
  height: 100%;
}

.nav-links a {
  position: relative;
  display: grid;
  place-items: center;
  height: 62px;
  color: #111820;
  font-size: 15px;
  font-weight: 650;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan);
  opacity: 0;
  transform: scaleX(0.4);
  transition: 180ms ease;
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.icon-button,
.back-button,
.outline-button,
.ghost-link,
.filter-row button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
}

.icon-button:hover,
.back-button:hover,
.outline-button:hover,
.ghost-link:hover,
.filter-row button:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 153, 168, 0.55);
  box-shadow: 0 8px 18px rgba(0, 125, 145, 0.10);
}

.sun-icon,
.menu-icon {
  position: relative;
  width: 18px;
  height: 18px;
}

.sun-icon {
  border: 2px solid var(--ink);
  border-radius: 50%;
  transform: scale(0.74);
}

.sun-icon::before {
  content: "";
  position: absolute;
  inset: -8px;
  background:
    linear-gradient(var(--ink), var(--ink)) center top / 2px 5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center bottom / 2px 5px no-repeat,
    linear-gradient(90deg, var(--ink), var(--ink)) left center / 5px 2px no-repeat,
    linear-gradient(90deg, var(--ink), var(--ink)) right center / 5px 2px no-repeat;
}

.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  border-top: 2px solid var(--ink);
}

.menu-icon {
  border-bottom: 2px solid var(--ink);
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}

.menu-icon::before {
  top: 7px;
}

.menu-icon::after {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.92fr 0.78fr;
  gap: 48px;
  align-items: center;
  min-height: 238px;
  padding: 16px 92px 8px;
  position: relative;
}

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

.hero::after {
  right: 34%;
  top: 24px;
  width: 430px;
  height: 198px;
  border: 1px solid rgba(40, 143, 158, 0.12);
  border-left-color: rgba(40, 143, 158, 0.22);
  border-bottom-color: rgba(40, 143, 158, 0.22);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.hero-copy h1 {
  margin: 0;
  color: #111923;
  font-size: clamp(56px, 4.75vw, 76px);
  line-height: 0.98;
  font-weight: 900;
}

.rule-stack {
  display: grid;
  gap: 7px;
  width: min(440px, 88%);
  margin: 18px 0 12px;
}

.rule-stack span {
  height: 5px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(18, 24, 32, 0.23), rgba(18, 24, 32, 0.08), transparent);
}

.rule-stack span:nth-child(1) {
  width: 82%;
}

.rule-stack span:nth-child(2) {
  width: 42%;
}

.rule-stack span:nth-child(3) {
  width: 68%;
}

.hero-intro {
  max-width: 510px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.hero-media {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
}

.hero-media::before {
  left: 60px;
  right: -44px;
  top: -30px;
  bottom: -28px;
  background:
    linear-gradient(90deg, rgba(0, 153, 168, 0.20) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 153, 168, 0.16) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.3;
}

.hero-media img {
  position: relative;
  width: min(100%, 330px);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

.side-code {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 8px;
  justify-items: start;
  color: #606e78;
  font-size: 10px;
}

.side-code i {
  width: 18px;
  height: 5px;
  border-radius: 99px;
  background: var(--orange);
  box-shadow: 0 12px 0 var(--cyan);
}

.side-code strong {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 12px;
}

.hero-stats {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.hero-stats article {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: center;
  gap: 12px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
}

.hero-stats p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.stat-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.stat-icon::before,
.stat-icon::after {
  content: "";
  position: absolute;
}

.stat-icon.layers::before {
  width: 22px;
  height: 22px;
  border: 2px solid var(--cyan);
  transform: rotate(45deg) skew(-8deg, -8deg);
}

.stat-icon.case::before {
  width: 24px;
  height: 18px;
  border: 2px solid var(--blue);
  border-radius: 3px;
}

.stat-icon.case::after {
  width: 10px;
  height: 4px;
  border: 2px solid var(--blue);
  border-bottom: 0;
  top: 14px;
  border-radius: 4px 4px 0 0;
}

.stat-icon.bars::before {
  width: 4px;
  height: 24px;
  background: var(--orange);
  box-shadow: -9px 9px 0 var(--orange), 9px -5px 0 var(--orange);
  border-radius: 99px;
}

.stat-icon.heart::before {
  width: 22px;
  height: 18px;
  border: 2px solid var(--cyan);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  transform: rotate(-45deg);
}

.panel {
  position: relative;
  margin-top: 14px;
  padding: 22px 24px;
  border: 1px solid rgba(217, 229, 236, 0.86);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.panel.compact {
  margin-top: 0;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title span {
  width: 4px;
  height: 19px;
  border-radius: 99px;
  background: var(--cyan);
}

.section-title h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 780;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(390px, 0.88fr);
  gap: 32px;
  margin-top: 14px;
  align-items: stretch;
  min-height: 158px;
}

.experience-layout > div {
  display: grid;
  min-height: 100%;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(112px, 1fr));
  gap: 12px;
  height: 100%;
  min-height: 100%;
  align-items: stretch;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  top: 30px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(28, 66, 82, 0.16), transparent);
}

.timeline-item {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: start;
  justify-items: center;
  height: 100%;
  min-height: 100%;
  padding: 0 8px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: 180ms ease;
}

.timeline-item:hover,
.timeline-item.is-active {
  border-color: rgba(255, 106, 61, 0.55);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 34px rgba(255, 106, 61, 0.10);
}

.timeline-year {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.timeline-item.is-active .timeline-year {
  color: var(--orange);
}

.timeline-dot {
  width: 12px;
  height: 12px;
  margin: 6px 0 9px;
  border-radius: 50%;
  background: #cfd7dd;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.82);
}

.timeline-item.is-active .timeline-dot {
  background: var(--orange);
}

.timeline-logo {
  display: grid;
  place-items: center;
  width: 58px;
  height: 34px;
  margin-bottom: 6px;
  overflow: hidden;
  color: var(--ink);
  font-size: 26px;
  font-weight: 850;
}

.timeline-logo img {
  max-width: 58px;
  max-height: 28px;
  object-fit: contain;
}

.timeline-item strong {
  max-width: 128px;
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.45;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.timeline-item em {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.timeline-item small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.company-card {
  display: grid;
  align-content: center;
  min-height: 100%;
  padding: 4px 0 0 28px;
  border-left: 1px solid var(--line);
}

.company-main {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: start;
}

.company-main-plain {
  grid-template-columns: 1fr;
}

.company-logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.company-logo img {
  width: 45px;
  height: 38px;
  object-fit: contain;
}

.company-logo-text {
  color: var(--cyan);
  font-size: 22px;
  font-weight: 860;
}

.company-card.is-empty .company-logo {
  background: linear-gradient(135deg, rgba(0, 153, 168, 0.10), rgba(255, 255, 255, 0.94));
}

.current-badge {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(0, 153, 168, 0.09);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 750;
}

.company-card h3 {
  margin: 0 0 7px;
  font-size: 17px;
}

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 12px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.56);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 650;
}

.achievement {
  margin-top: 10px !important;
  color: var(--ink-soft) !important;
  font-size: 13px !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 12px;
  border-top: 1px solid var(--line);
}

.metric-row div {
  padding: 12px 14px 2px;
  border-right: 1px solid var(--line);
}

.metric-row div:last-child {
  border-right: 0;
}

.metric-row strong {
  display: block;
  font-size: 18px;
}

.metric-row span {
  color: var(--muted);
  font-size: 12px;
}

.outline-button,
.ghost-link,
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 7px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 720;
}

.outline-button {
  margin-top: 12px;
}

.experience-panel {
  padding-top: 18px;
  padding-bottom: 18px;
}

.experience-panel .section-title h2,
.projects-panel .section-title h2 {
  font-size: 18px;
}

.experience-panel .outline-button {
  display: none;
}

.experience-panel .tag-row {
  max-height: 25px;
  overflow: hidden;
}

.experience-panel .achievement {
  -webkit-line-clamp: 1;
}

.experience-panel .metric-row {
  margin-top: 9px;
}

.experience-panel .metric-row div {
  padding-top: 9px;
}

.experience-panel .company-card {
  padding-top: 0;
}

.experience-panel .company-card h3 {
  font-size: 16px;
}

.experience-panel .company-card p:not(.achievement) {
  display: none !important;
  max-width: 610px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.experience-panel .company-main {
  align-items: center;
}

.experience-panel .current-badge {
  margin-bottom: 3px;
}

.experience-panel .company-card h3 {
  margin-bottom: 0;
}

.experience-panel .tag-row {
  margin-top: 8px;
}

.experience-panel .achievement {
  margin-top: 8px !important;
}

.experience-panel .metric-row strong {
  font-size: 16px;
}

.experience-panel .metric-row span {
  font-size: 11px;
}

.experience-panel .company-logo {
  width: 50px;
  height: 50px;
}

.experience-panel .company-logo img {
  width: 56px;
  height: 42px;
}

.experience-panel .company-main {
  grid-template-columns: 58px 1fr;
}

.experience-panel .company-main-plain {
  grid-template-columns: 1fr;
}

.projects-panel {
  padding-top: 14px;
  padding-bottom: 14px;
}

.projects-panel .section-head {
  align-items: start;
}

.projects-panel .ghost-link {
  min-height: 32px;
}

.projects-panel .ghost-link:disabled {
  opacity: 0.48;
  cursor: default;
  transform: none;
  box-shadow: none;
}

.ghost-link {
  background: rgba(255, 255, 255, 0.54);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 8px 0 10px;
}

.filter-row button {
  min-width: 70px;
  height: 32px;
  padding: 0 16px;
  border-radius: 99px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.filter-row button.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan), #42d1d9);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 153, 168, 0.22);
}

.project-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  overflow: hidden;
  padding-bottom: 0;
  scrollbar-width: none;
}

.project-strip::-webkit-scrollbar {
  display: none;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-rows: 72px 1fr;
  height: 170px;
  min-height: 170px;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid rgba(207, 220, 228, 0.9);
  border-radius: var(--radius);
  background: var(--panel-strong);
  box-shadow: 0 10px 26px rgba(17, 45, 60, 0.07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 153, 168, 0.55);
  box-shadow: 0 18px 42px rgba(0, 108, 132, 0.14);
}

.project-card figure {
  display: grid;
  place-items: center;
  height: 72px;
  margin: 0;
  overflow: hidden;
  background: #f5fafb;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  transition: transform 380ms ease;
}

.project-card:hover img {
  transform: scale(1.045);
}

.project-card div {
  display: flex;
  min-width: 0;
  min-height: 98px;
  flex-direction: column;
  padding: 6px 34px 8px 10px;
}

.project-card span {
  min-width: 0;
  color: var(--cyan);
  font-size: 11px;
  font-weight: 760;
}

.project-card h3 {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 3px 0 3px;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card p {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-thinking {
  display: -webkit-box;
  margin-top: 4px !important;
  color: #556672 !important;
  line-height: 1.3 !important;
  white-space: normal !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.project-card i {
  position: absolute;
  right: 9px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  font-style: normal;
  background: rgba(255, 255, 255, 0.9);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 38px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 8px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd5dc;
  cursor: pointer;
  transition: 180ms ease;
}

.carousel-dots button.is-active {
  width: 20px;
  border-radius: 99px;
  background: var(--cyan);
}

.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 14px;
  margin-top: 16px;
  margin-bottom: 18px;
}

.bottom-grid .panel {
  padding-top: 16px;
  padding-bottom: 14px;
}

.skill-grid,
.contact-grid {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.skill-grid {
  grid-template-columns: repeat(7, minmax(80px, 1fr));
}

.skill-item {
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 2px 4px;
}

.skill-icon {
  position: relative;
  width: 30px;
  height: 30px;
  color: #30414d;
  border: 1px solid rgba(0, 153, 168, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 18px rgba(17, 45, 60, 0.06);
}

.skill-icon::before,
.skill-icon::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.skill-icon-0::before {
  left: 9px;
  top: 6px;
  width: 10px;
  height: 10px;
  border: 1.7px solid currentColor;
  border-radius: 50%;
}

.skill-icon-0::after {
  left: 6px;
  bottom: 6px;
  width: 18px;
  height: 8px;
  border: 1.7px solid currentColor;
  border-radius: 10px 10px 4px 4px;
}

.skill-icon-1::before {
  inset: 7px;
  border-top: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
}

.skill-icon-1::after {
  left: 6px;
  top: 6px;
  width: 18px;
  height: 18px;
  background:
    radial-gradient(circle, currentColor 0 2px, transparent 2.5px) left top / 8px 8px no-repeat,
    radial-gradient(circle, currentColor 0 2px, transparent 2.5px) right top / 8px 8px no-repeat,
    radial-gradient(circle, currentColor 0 2px, transparent 2.5px) center bottom / 8px 8px no-repeat;
}

.skill-icon-2::before {
  inset: 6px 5px;
  border: 1.7px solid currentColor;
  border-radius: 4px;
}

.skill-icon-2::after {
  left: 9px;
  top: 11px;
  width: 12px;
  height: 1.7px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.skill-icon-3::before {
  left: 7px;
  top: 5px;
  width: 16px;
  height: 16px;
  border: 1.7px solid currentColor;
  transform: rotate(45deg);
}

.skill-icon-3::after {
  left: 9px;
  bottom: 5px;
  width: 12px;
  height: 12px;
  border: 1.7px solid currentColor;
  opacity: 0.55;
  transform: rotate(45deg);
}

.skill-icon-4::before {
  left: 7px;
  bottom: 7px;
  width: 3px;
  height: 8px;
  border-radius: 99px;
  background: currentColor;
  box-shadow: 6px -5px 0 currentColor, 12px -1px 0 currentColor;
}

.skill-icon-4::after {
  left: 6px;
  bottom: 6px;
  width: 19px;
  height: 14px;
  border-left: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
}

.skill-icon-5::before {
  left: 8px;
  top: 7px;
  border-left: 12px solid currentColor;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
}

.skill-icon-5::after {
  right: 5px;
  bottom: 5px;
  width: 17px;
  height: 17px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  border-radius: 50%;
}

.skill-icon-6::before {
  inset: 5px 7px;
  border: 1.7px solid currentColor;
  border-radius: 3px;
}

.skill-icon-6::after {
  left: 11px;
  top: 10px;
  width: 9px;
  height: 1.7px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor, 0 10px 0 currentColor;
}

.skill-item strong {
  color: var(--ink-soft);
  font-size: 12px;
}

.skill-dots {
  display: flex;
  gap: 6px;
}

.skill-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cfd9df;
}

.skill-dots i.is-on {
  background: var(--cyan);
}

.contact-grid {
  grid-template-columns: repeat(3, 1fr);
}

.contact-grid a {
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-right: 1px solid var(--line);
}

.contact-grid a:last-child {
  border-right: 0;
}

.contact-grid i {
  position: relative;
  grid-row: span 2;
  width: 24px;
  height: 24px;
  color: #333d45;
}

.contact-grid i::before,
.contact-grid i::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}

.contact-mail::before {
  inset: 5px 2px 4px;
  border: 1.7px solid currentColor;
  border-radius: 4px;
}

.contact-mail::after {
  left: 5px;
  top: 8px;
  width: 14px;
  height: 9px;
  border-left: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  transform: rotate(-45deg);
  transform-origin: center;
}

.contact-phone::before {
  left: 6px;
  top: 2px;
  width: 12px;
  height: 20px;
  border: 1.7px solid currentColor;
  border-radius: 4px;
}

.contact-phone::after {
  left: 11px;
  bottom: 4px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
}

.contact-chat::before {
  left: 2px;
  top: 5px;
  width: 17px;
  height: 13px;
  border: 1.7px solid currentColor;
  border-radius: 7px;
}

.contact-chat::after {
  right: 2px;
  bottom: 3px;
  width: 11px;
  height: 9px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  border-radius: 0 0 6px;
}

.contact-pin::before {
  left: 5px;
  top: 2px;
  width: 14px;
  height: 14px;
  border: 1.7px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.contact-pin::after {
  left: 10px;
  top: 7px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.contact-grid strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-grid span {
  color: var(--muted);
  font-size: 11px;
}

.case-page {
  background-color: #f6fbfc;
}

.case-shell {
  width: min(1500px, calc(100vw - 36px));
  margin: 24px auto 48px;
}

.case-hero {
  display: grid;
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 410px;
}

.back-inline {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 760;
}

.case-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.08;
}

.case-summary {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.case-thinking {
  max-width: 660px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(0, 153, 168, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink-soft);
  line-height: 1.75;
}

.case-thinking strong {
  color: var(--cyan);
}

.case-cover {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eef6f7;
  box-shadow: var(--shadow-soft);
}

.case-cover img {
  width: 100%;
  height: min(48vw, 520px);
  object-fit: contain;
  padding: 10px;
  background: #f5fafb;
}

.case-info-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.meta-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
}

.meta-list div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.meta-list dt {
  color: var(--muted);
  font-size: 13px;
}

.meta-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}

.plain-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.75;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.case-gallery-section {
  margin-top: 18px;
}

.case-gallery {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 18px;
  margin-top: 22px;
}

.poster-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.poster-item figure {
  margin: 0;
}

.poster-item img {
  display: block;
  width: 100%;
  height: auto;
}

.gallery-item {
  display: grid;
  grid-template-rows: 320px auto;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.gallery-item figure {
  display: grid;
  place-items: center;
  margin: 0;
  min-height: 0;
  height: 320px;
  background: #f1f6f7;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 18px;
}

.gallery-item div {
  padding: 18px 20px 22px;
  border-top: 1px solid var(--line);
}

.gallery-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.gallery-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.soft-dark {
  --bg: #111719;
  --panel: rgba(20, 28, 31, 0.86);
  --panel-strong: #151d20;
  --ink: #edf6f7;
  --ink-soft: #d7e2e5;
  --muted: #9dadb3;
  --line: rgba(217, 229, 236, 0.16);
  --line-strong: rgba(217, 229, 236, 0.28);
  background-color: #111719;
}

.soft-dark .site-nav,
.soft-dark .stat-icon,
.soft-dark .company-logo,
.soft-dark .project-card,
.soft-dark .gallery-item {
  background: rgba(22, 31, 34, 0.84);
}

.soft-dark .nav-links a,
.soft-dark .hero-copy h1,
.soft-dark .project-card i {
  color: var(--ink);
}

@media (max-width: 1440px) {
  .experience-layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
    gap: 24px;
  }

  .timeline {
    grid-template-columns: repeat(6, minmax(88px, 1fr));
    gap: 8px;
  }

  .timeline-item strong {
    max-width: 108px;
  }

  .company-card {
    padding-left: 24px;
  }

  .project-strip {
    gap: 12px;
  }

  .project-card h3 {
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
  }

  .project-card p {
    font-size: 10px;
  }

  .project-thinking {
    line-height: 1.25 !important;
  }

  .bottom-grid .panel {
    padding-top: 14px;
    padding-bottom: 12px;
  }

  .contact-grid a {
    padding-top: 7px;
    padding-bottom: 7px;
  }
}

@media (max-width: 1180px) {
  .site-nav {
    padding: 0 24px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px;
  }

  .hero::after {
    display: none;
  }

  .hero-media {
    max-width: 580px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-layout,
  .case-hero,
  .case-info-grid,
  .bottom-grid {
    grid-template-columns: 1fr;
  }

  .company-card {
    padding-left: 0;
    border-left: 0;
  }

  .timeline {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .project-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .shell,
  .case-shell {
    width: calc(100% - 24px);
    max-width: 680px;
  }

  .site-nav {
    grid-template-columns: 1fr auto;
    min-height: 58px;
    padding: 0 16px;
    overflow: visible;
  }

  .brand {
    grid-column: 1;
    font-size: 28px;
  }

  .nav-actions {
    grid-column: 2;
    justify-self: end;
    position: static;
    gap: 0;
    margin-right: 0;
  }

  .nav-actions .icon-button:last-child {
    display: grid;
  }

  .nav-actions .icon-button:first-child {
    display: none;
  }

  .nav-links {
    grid-column: 1 / -1;
    position: absolute;
    left: 12px;
    right: 12px;
    top: 64px;
    display: none;
    height: auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
    gap: 6px;
  }

  .nav-links a {
    height: 42px;
    justify-content: start;
  }

  .hero {
    gap: 18px;
    min-height: 0;
    overflow: visible;
    padding: 28px 0 20px;
  }

  .hero-copy h1 {
    font-size: clamp(52px, 16vw, 68px);
  }

  .eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .rule-stack {
    width: 92%;
    margin: 14px 0 12px;
  }

  .hero-intro {
    max-width: 320px;
    font-size: 14px;
    line-height: 1.65;
  }

  .hero-media {
    grid-template-columns: 1fr;
    gap: 12px;
    min-width: 0;
    overflow: visible;
  }

  .hero-media::before {
    left: -10px;
    right: -10px;
    top: 34px;
    bottom: 0;
    background-size: 36px 36px;
  }

  .hero-media img {
    width: 100%;
    max-width: 330px;
    justify-self: center;
    border-radius: 16px;
  }

  .side-code {
    grid-template-columns: repeat(4, max-content);
    align-items: center;
    justify-content: center;
    gap: 34px;
    width: min(100%, 330px);
    padding: 0 4px;
    justify-self: center;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-stats article {
    grid-template-columns: 36px 1fr;
    gap: 8px;
    min-height: 64px;
    padding: 8px;
    border: 1px solid rgba(217, 229, 236, 0.9);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.76);
  }

  .hero-stats strong {
    margin-bottom: 2px;
    font-size: 14px;
  }

  .hero-stats p {
    font-size: 11px;
    line-height: 1.3;
  }

  .stat-icon {
    width: 36px;
    height: 36px;
  }

  .panel {
    margin-top: 12px;
    overflow: visible;
    padding: 18px 14px;
  }

  .section-head {
    align-items: center;
    gap: 10px;
  }

  .section-title h2,
  .experience-panel .section-title h2,
  .projects-panel .section-title h2 {
    font-size: 17px;
  }

  .experience-layout {
    display: block;
    min-height: 0;
    margin-top: 12px;
  }

  .timeline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
    min-height: 0;
    gap: 10px;
    overflow: visible;
    padding: 0;
  }

  .timeline::-webkit-scrollbar {
    display: none;
  }

  .timeline-item {
    height: auto;
    min-height: 118px;
    min-width: 0;
    padding: 8px 6px 10px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.68);
  }

  .timeline-logo {
    height: 30px;
    margin-bottom: 5px;
  }

  .timeline-logo img {
    max-width: 54px;
    max-height: 25px;
  }

  .timeline-item strong {
    width: 100%;
    max-width: 100%;
  }

  .timeline-item small {
    width: 100%;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.35;
    text-align: center;
    text-overflow: ellipsis;
  }

  .company-card {
    margin-top: 12px;
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .company-main,
  .experience-panel .company-main {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

  .experience-panel .company-logo {
    width: 42px;
    height: 42px;
  }

  .experience-panel .company-logo img {
    width: 46px;
    height: 32px;
  }

  .company-card h3,
  .experience-panel .company-card h3 {
    font-size: 15px;
    line-height: 1.35;
  }

  .tag-row {
    gap: 6px;
    margin-top: 9px;
  }

  .tag-row span {
    min-height: 23px;
    padding: 0 9px;
    font-size: 11px;
  }

  .achievement {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .experience-panel .achievement {
    -webkit-line-clamp: 2;
  }

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

  .metric-row div {
    padding: 9px 8px 0;
    border-right: 1px solid var(--line);
    border-bottom: 0;
  }

  .metric-row strong {
    font-size: 15px;
  }

  .projects-panel {
    padding-bottom: 16px;
  }

  .projects-panel .ghost-link {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
  }

  .filter-row {
    flex-wrap: wrap;
    gap: 8px;
    overflow: visible;
    margin: 10px 0 12px;
    padding: 0;
    scrollbar-width: none;
  }

  .filter-row::-webkit-scrollbar {
    display: none;
  }

  .filter-row button {
    flex: 0 0 auto;
    min-width: 66px;
    height: 30px;
    padding: 0 13px;
    font-size: 12px;
  }

  .project-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-card {
    grid-template-columns: 118px minmax(0, 1fr);
    grid-template-rows: none;
    height: auto;
    min-height: 118px;
  }

  .project-card figure {
    height: 100%;
    min-height: 118px;
    background: #f4fbfc;
  }

  .project-card img {
    object-fit: contain;
  }

  .project-card div {
    min-height: 118px;
    padding: 10px 38px 10px 12px;
  }

  .project-card h3 {
    font-size: 14px;
    line-height: 1.28;
    white-space: nowrap;
  }

  .project-card p {
    font-size: 12px;
    line-height: 1.35;
  }

  .project-thinking {
    -webkit-line-clamp: 2;
  }

  .bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
  }

  .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .skill-item {
    grid-template-columns: 30px 1fr;
    justify-items: start;
    align-items: center;
    padding: 8px;
    border: 1px solid rgba(217, 229, 236, 0.75);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.52);
  }

  .skill-item strong {
    font-size: 12px;
  }

  .skill-dots {
    grid-column: 2;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-grid a {
    min-height: 46px;
    padding: 8px 2px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-grid a:last-child {
    border-bottom: 0;
  }

  .case-gallery {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    display: none;
  }

  .contact-grid a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
