:root {
  color-scheme: light;
  --paper: #fdfcff;
  --white: #fff;
  --ink: #22213d;
  --muted: #54516d;
  --brand: #3c35a2;
  --brand-ink: #2a246b;
  --line: #e0dcf0;
  --tint: #f1edfc;
  --serif: "Songti SC", "Noto Serif CJK SC", "STSong", Georgia, serif;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.62;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid #6956c7; outline-offset: 4px; }
:where(button, a, summary) { transition: background-color .18s, border-color .18s, color .18s, box-shadow .18s; }
[hidden] { display: none !important; }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }

.visually-hidden, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  z-index: 5;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--brand-ink);
}

.footer-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hero {
  color: var(--ink);
  background: radial-gradient(ellipse at 88% 0, #eae4fc 0%, #f6f2ff 47%, #fdfcff 86%);
  border-bottom: 3px solid var(--brand);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 86px);
  padding-block: clamp(34px, 4.2vw, 58px) 37px;
}
.profile-heading { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.profile-photo {
  display: block;
  flex-shrink: 0;
  width: clamp(86px, 9.2vw, 126px);
  height: auto;
  border: 4px solid var(--white);
  border-radius: 12px;
  box-shadow: 0 0 0 1px #d8d0ee, 0 7px 18px #2a246b15;
}
.target-role {
  color: var(--brand);
  margin: 0 0 12px;
  font-weight: 700;
  letter-spacing: .085em;
  font-size: .9375rem;
}
.hero h1 {
  margin: 0;
  font: 700 clamp(3.95rem, 7.2vw, 6.7rem)/1.02 var(--serif);
  letter-spacing: -.07em;
}
.profile-role { margin: 16px 0 0; color: var(--brand-ink); font-size: clamp(1.28rem, 2.4vw, 2.05rem); font-weight: 660; letter-spacing: -.035em; }
.intro { max-width: 32rem; margin: 10px 0 0; color: var(--muted); line-height: 1.78; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 30rem; }
.hero-actions .button { text-align: center; padding-inline: 9px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 45px;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 8px 15px;
  text-decoration: none;
  font-size: .9375rem;
  font-weight: 700;
}
.button-hero { background: var(--brand); color: var(--white); }
.button-hero:hover { background: #5042b3; }
.button-hero-outline { border-color: #b9addf; color: var(--brand-ink); }
.button-hero-outline:hover { background: var(--tint); }
.hero :focus-visible { outline-color: #6956c7; }

.proof {
  padding: clamp(18px, 2.5vw, 32px);
  border: 1px solid #d8d0ee;
  background: #ffffffb8;
  border-radius: 6px;
}
.proof h2 { margin: 0 0 5px; color: var(--muted); font-size: .875rem; font-weight: 650; letter-spacing: .08em; }
.proof ul { list-style: none; margin: 0; padding: 0; }
.proof li + li { border-top: 1px solid var(--line); }
.proof a {
  display: grid;
  grid-template-columns: minmax(112px, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 13px;
  min-height: 76px;
  padding: 9px 0;
  text-decoration: none;
}
.proof a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.proof-number {
  color: var(--brand);
  font: 400 clamp(1.85rem, 3.2vw, 2.85rem)/1 Georgia, serif;
  letter-spacing: -.065em;
  font-variant-numeric: lining-nums tabular-nums;
  white-space: nowrap;
}
.proof-unit { margin-left: 2px; font-size: .6em; }
.proof-label { display: grid; gap: 2px; color: var(--muted); font-size: .875rem; line-height: 1.42; }
.proof-label strong { font-size: .9375rem; color: var(--ink); }

.strengths {
  display: grid;
  grid-template-columns: minmax(85px, .48fr) minmax(0, 2.52fr);
  align-items: start;
  gap: 16px;
  padding: 23px 0 30px;
  border-top: 1px solid #d8d0ee;
}
.strengths h2 { margin: 0; color: var(--brand); font-size: 1rem; letter-spacing: .035em; }
.strengths ul { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 0; margin: 0; }
.strengths li { display: grid; gap: 4px; font-size: .875rem; color: var(--muted); line-height: 1.55; }
.strengths li > strong { color: var(--ink); font-size: .965rem; }
.intro strong, .strengths span strong { color: var(--ink); font-weight: 700; }

.page-section { padding-block: clamp(42px, 5.5vw, 76px); }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 23px; margin-bottom: 22px; }
.section-heading h2, .resume h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.18rem);
  line-height: 1.16;
  letter-spacing: -.06em;
}
.section-heading p, .resume p { margin: 0; color: var(--muted); }
.note { font-style: italic; }
.note::before { content: "*"; margin-inline-end: .35em; font-style: normal; }

.role-list {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.role + .role { border-top: 1px solid var(--line); }
.role > summary {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.3fr) 31px;
  align-items: center;
  gap: 12px 16px;
  min-height: 71px;
  padding: 12px clamp(13px, 2.5vw, 28px);
  list-style: none;
  cursor: pointer;
}
.role > summary::-webkit-details-marker { display: none; }
.role > summary:hover { background: #f7f3fe; }
.role > summary:focus-visible { outline-offset: -4px; }
.role[open] > summary { border-bottom: 1px solid var(--line); background: var(--tint); }
.role-title { font: 700 clamp(1.16rem, 2.15vw, 1.52rem)/1.25 var(--serif); letter-spacing: -.035em; }
.role-proof { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; color: var(--muted); font-size: .9375rem; line-height: 1.43; }
.role-proof span { color: var(--brand); font-weight: 720; }
.disclosure {
  position: relative;
  width: 31px;
  height: 31px;
  border: 1px solid #c9bde7;
  border-radius: 50%;
  color: var(--brand);
}
.disclosure::before, .disclosure::after { content: ""; position: absolute; top: 50%; left: 50%; width: 11px; height: 1px; background: currentColor; transform: translate(-50%, -50%); }
.disclosure::after { transform: translate(-50%, -50%) rotate(90deg); }
.role[open] .disclosure::after { opacity: 0; }
.role-body {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.12fr) minmax(0, 1.13fr);
  gap: clamp(12px, 3vw, 31px);
  padding: 21px clamp(13px, 2.5vw, 28px) 25px;
}
.role-source {
  grid-column: 1 / -1;
  margin: 0;
  padding: 11px 14px;
  border-left: 2px solid #9383cf;
  background: #f8f5fe;
}
.role-source figcaption { margin-bottom: 4px; color: var(--brand); font-size: .8125rem; font-weight: 720; }
.role-source blockquote { margin: 0; }
.role-source strong { color: var(--ink); font-weight: 680; }
.role-body > div + div { padding-left: clamp(12px, 2vw, 25px); border-left: 1px solid var(--line); }
.role-body h3, .case-block h3 { margin: 0 0 5px; font-size: 1rem; }
.role-body p, .case-block p { color: var(--muted); margin: 0; }
.role-body p + p { margin-top: 8px; }
.operating-board {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.27fr) minmax(0, 1fr);
  gap: clamp(8px, 1.5vw, 17px);
}
.operating-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(12px, 1.6vw, 19px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
}
.operating-panel-results { background: #faf7ff; border-color: #cec1ed; }
.operating-panel h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin: 0 0 12px;
  color: var(--brand-ink);
}
.operating-panel h3 span { color: var(--muted); font-size: .875rem; font-weight: 620; }
.operating-flow { margin: 0; padding: 0; list-style: none; }
.operating-flow li { position: relative; padding: 0 0 13px 18px; }
.operating-flow li::before {
  position: absolute;
  top: .54em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  content: "";
}
.operating-flow li:not(:last-child)::after { position: absolute; inset: calc(.54em + 8px) auto -.54em 3.5px; width: 1px; background: #c6bae7; content: ""; }
.operating-flow strong { color: var(--ink); font-weight: 720; }
.operating-flow p, .operating-panel .operating-efficiency { font-size: .875rem; }
.operating-experience-list { margin: 0; padding: 0; list-style: none; }
.operating-experience-list li { padding: 8px 0; border-top: 1px solid var(--line); }
.operating-experience-list p, .operating-panel .operating-experience-note { font-size: .875rem; }
.operating-panel .operating-experience-note { margin-top: 4px; }
.operating-extra { margin-top: 4px; border-top: 1px solid var(--line); font-size: .875rem; }
.operating-extra > summary { padding-block: 8px; color: var(--brand); font-weight: 650; cursor: pointer; }
.operating-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0 0 11px;
  padding: 0;
  list-style: none;
}
.operating-channels li { padding: 3px 7px; border-radius: 4px; background: var(--tint); color: var(--brand-ink); font-size: .875rem; line-height: 1.42; }
.operating-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0 0 9px; background: var(--line); border: 1px solid var(--line); }
.operating-metrics > div { min-width: 0; padding: 7px 9px; background: var(--white); }
.operating-metrics .operating-gmv { grid-column: 1 / -1; }
.operating-metrics dt { color: var(--muted); font-size: .875rem; }
.operating-metrics dd { margin: 0; color: var(--brand); font-variant-numeric: tabular-nums; }
.operating-metrics dd strong { font-size: 1.2rem; }
.operating-gmv dd strong { font-size: 1.42rem; }
.operating-metrics dd span { display: block; color: var(--muted); font-size: .8125rem; line-height: 1.4; }

.project-section { background: #f4f0fd; border-block: 1px solid var(--line); }
.case-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 17px; }
.filter-button {
  padding: 6px 11px;
  min-height: 38px;
  border: 1px solid #ccc1e9;
  border-radius: 4px;
  background: transparent;
  color: #4e437f;
  font-size: .875rem;
  font-weight: 640;
}
.filter-button:hover { background: #faf7ff; border-color: #a395d1; }
.filter-button[aria-pressed="true"] { background: var(--brand); color: white; border-color: var(--brand); }
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  width: 100%;
  min-height: 202px;
  padding: clamp(14px, 2.5vw, 24px);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
}
.case-card:hover { border-color: #a593d3; background: var(--white); box-shadow: 0 6px 18px #2a246b14; }
.case-company { color: #655597; font-size: .8125rem; font-weight: 690; }
.case-card-title { margin-top: 3px; font: 700 clamp(1.15rem, 2.2vw, 1.63rem)/1.26 var(--serif); letter-spacing: -.045em; }
.case-highlight { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 8px; margin-top: 15px; margin-bottom: 12px; color: var(--muted); font-size: .875rem; }
.case-highlight strong { color: var(--brand); font-size: 1.34rem; font-weight: 740; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.case-highlight-text strong { font-size: 1.05rem; }
.case-card-summary { margin: 0 0 10px; color: var(--muted); font-size: .875rem; }
.case-card-cta {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 5px;
  width: 100%;
  color: var(--brand);
  font-size: .875rem;
  font-weight: 700;
}
.case-card:hover .case-card-cta { text-decoration: underline; text-underline-offset: 4px; }

.case-dialog {
  width: min(745px, calc(100% - 32px));
  max-height: min(86dvh, 810px);
  padding: 0;
  border-radius: 8px;
  border: 1px solid #c4b8e3;
  background: var(--white);
  color: var(--ink);
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 22px 67px #23174e58;
}
.case-dialog::backdrop { background: #23174e99; backdrop-filter: blur(4px); }
body:has(.case-dialog[open]) { overflow: hidden; }
.dialog-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px clamp(14px, 3vw, 29px);
  border-bottom: 1px solid var(--line);
  background: #f8f5ff;
}
.dialog-bar p { color: var(--muted); font-size: .875rem; font-weight: 660; margin: 0; }
.close-dialog { display: block; white-space: nowrap; min-height: 38px; padding: 5px 11px; border: 1px solid #c8bce7; border-radius: 4px; background: var(--white); color: var(--brand); font-size: .875rem; }
.close-dialog:hover { background: var(--tint); }
.case-detail { padding: clamp(16px, 4vw, 33px); }
.case-detail h2 { margin: 0; font: 700 clamp(1.7rem, 4vw, 2.52rem)/1.16 var(--serif); letter-spacing: -.05em; }
.case-summary { color: var(--muted); margin: 8px 0 0; }
.case-decision { margin: 13px 0 0; padding: 9px 12px; border-left: 2px solid #9383cf; background: var(--tint); }
.case-decision h3 { margin: 0 0 3px; color: var(--brand-ink); font-size: .875rem; }
.case-decision p { margin: 0; color: var(--ink); }
.case-metrics { margin: 17px 0 2px; display: flex; flex-wrap: wrap; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.case-metric { flex: 1 1 min(100%, 134px); display: flex; flex-direction: column; gap: 3px; padding: 9px 12px; background: var(--tint); }
.case-metric dt { order: 1; color: var(--muted); font-size: .8125rem; }
.case-metric dd { margin: 0; color: var(--brand); font-size: 1.2rem; font-weight: 740; font-variant-numeric: tabular-nums; }
.case-block { margin-top: 14px; }

.resume-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); align-items: start; gap: clamp(28px, 8vw, 108px); }
.resume p { margin-top: 9px; }
.button-primary { color: white; background: var(--brand); }
.button-primary:hover { background: #5042b3; }
.button-outline { border-color: #c3b9e6; color: var(--brand-ink); }
.button-outline:hover { background: var(--tint); }
.resume-preview { background: var(--white); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.preview-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 7px; padding: 6px 11px; border-bottom: 1px solid var(--line); font-size: .875rem; font-weight: 660; }
.page-controls { display: flex; gap: 3px; }
.page-controls a { display: grid; place-items: center; text-decoration: none; min-height: 36px; min-width: 56px; border-radius: 4px; color: var(--muted); }
.page-controls a:hover, .page-controls a[aria-current] { background: var(--tint); color: var(--brand-ink); }
.resume-page-link { display: block; }
.resume-page-link:focus-visible { outline-offset: -4px; }
.resume-preview img { display: block; width: 100%; height: auto; }
.footer { background: var(--tint); border-top: 1px solid var(--line); color: var(--brand-ink); font-size: .875rem; }
.footer a { display: inline-flex; align-items: center; min-height: 42px; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 54px); }
  .hero-inner { grid-template-columns: minmax(0, 1fr) minmax(280px, .88fr); gap: 24px; }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (671px <= width <= 880px) {
  .operating-metrics > div:not(.operating-gmv) dt { min-height: 2.7em; line-height: 1.35; }
}
@media (max-width: 670px) {
  .shell { width: calc(100% - 34px); }
  .hero-inner { grid-template-columns: minmax(0, 1fr); padding: 28px 0 22px; gap: 20px; }
  .hero h1 { font-size: clamp(3.35rem, 12vw, 4.4rem); }
  .profile-photo { width: clamp(68px, 17vw, 95px); }
  .target-role { margin-bottom: 8px; }
  .profile-role { margin-top: 12px; }
  .proof { padding: 12px 14px; }
  .proof a { min-height: 59px; }
  .strengths { grid-template-columns: minmax(0, 1fr); gap: 7px; padding: 14px 0 22px; }
  .strengths ul { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .strengths li { gap: 1px; }
  .section-heading { display: grid; gap: 5px; margin-bottom: 15px; }
  .role > summary { grid-template-columns: minmax(0, 1fr) 31px; gap: 4px 8px; min-height: 66px; }
  .role-proof { grid-column: 1; grid-row: 2; font-size: .875rem; }
  .disclosure { grid-column: 2; grid-row: 1 / 3; }
  .role-body { grid-template-columns: minmax(0, 1fr); gap: 11px; padding-block: 13px 17px; }
  .role-body > div + div { border-left: 0; border-top: 1px solid var(--line); padding: 9px 0 0; }
  .operating-board { grid-template-columns: minmax(0, 1fr); }
  .case-grid { gap: 8px; }
  .case-card { min-height: 168px; padding: 12px; }
  .case-highlight { gap: 1px 5px; margin-block: 9px; }
  .case-highlight strong { font-size: 1.12rem; }
  .case-highlight-text strong { font-size: .97rem; }
  .resume-inner { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .case-dialog { width: calc(100% - 22px); max-height: 88dvh; }
}
@media (max-width: 350px) {
  .hero-actions .button { font-size: .875rem; padding-inline: 4px; }
  .case-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
