/* Manrope + charcoal/lime identity, from the supplied design specification.
   Screen-only: printed resumes retain their existing page layout. */
@font-face {font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url('../assets/fonts/manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face {font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url('../assets/fonts/manrope-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@media screen {
  :root {
    --bg:#EBECEC; --card:#FFFFFF; --well:#DFE1DF;
    --ink:#212121; --ink-2:#3F403D; --mute:#60625C; --faint:#686B63;
    --line:rgba(33,33,33,.12); --line-2:rgba(33,33,33,.17); --line-hover:rgba(33,33,33,.32);
    --signal:#CAED57; --accent:#485D0C; --accent-2:#CAED57;
    --accent-dim:#E2FA93; --accent-line:rgba(72,93,12,.28);
    --accent-fill:#CAED57; --accent-fill-hover:#E2FA93; --accent-on-tint:#354609;
    --on-accent:#212121;
    --font-display:'Manrope','PingFang SC','Microsoft YaHei',sans-serif;
    --font-mono:'Manrope','PingFang SC','Microsoft YaHei',sans-serif;
    --radius:12px;
    --muted:var(--mute); --paper:var(--card); --surface:var(--card);
    --yellow:var(--signal); --green:var(--accent); --mono:var(--font-mono);
    color-scheme:light;
  }
  html[data-theme="dark"] {
    --bg:#212121; --card:#292929; --well:#333333;
    --ink:#EBECEC; --ink-2:#D8DAD7; --mute:#B2B2B2; --faint:#B2B2B2;
    --line:rgba(235,236,236,.12); --line-2:rgba(235,236,236,.19); --line-hover:rgba(235,236,236,.34);
    --accent:#CAED57; --accent-2:#CAED57; --accent-on-tint:#E2FA93;
    --accent-dim:rgba(202,237,87,.09); --accent-line:rgba(202,237,87,.32);
    --accent-fill:#CAED57; --accent-fill-hover:#E2FA93; --on-accent:#212121;
    --muted:var(--mute); --paper:var(--card); --surface:var(--card);
    color-scheme:dark;
  }
  body,html[data-lang="zh"] body {font-family:var(--font-display)}
  button,input,select {font-family:inherit}
  .r-seg button,.r-btn,.dd-item {font-family:var(--font-display)}

  /* Home: the active role and section titles carry the strongest weight. */
  .r-title,.r-h2,.r-foot-name,.r-dial-item,
  html[data-lang="zh"] .r-title,html[data-lang="zh"] .r-h2,
  html[data-lang="zh"] .r-dial-item {font-family:var(--font-display);font-weight:700}
  .r-hero::before,html[data-theme="dark"] .r-hero::before {background:none}
  .r-kicker {font-size:12px;letter-spacing:.1em}
  .r-role-frame {font-size:18px;font-weight:400;letter-spacing:0}
  .r-dial-item {letter-spacing:-.045em}
  html[data-lang="zh"] .r-dial-item {letter-spacing:-.04em}
  .r-dial-item.is-current {color:var(--ink)}
  html[data-theme="dark"] .r-dial-item.is-current {color:var(--signal)}
  .r-dial-pointer {background:var(--signal);width:18px;height:2px;left:-32px;transform:translateY(-50%)}
  .r-dial-caption {font-size:11px;letter-spacing:.08em}
  .r-role-dial .r-chip {font-size:12px;font-weight:400;background:transparent}
  .r-label {font-size:11px;letter-spacing:.12em}
  .r-label::before {content:"";width:7px;height:7px;border-radius:50%;background:var(--signal)}
  .r-label::after {content:none}
  .r-h2 {font-size:clamp(36px,4.2vw,58px);letter-spacing:-.045em;line-height:1.08}
  html[data-lang="zh"] .r-h2 {letter-spacing:-.035em;line-height:1.2}
  .r-sub,.r-lead {font-size:16px;line-height:1.8}
  .r-stat-n {font-size:54px;font-weight:700;letter-spacing:-.055em;color:var(--ink)}
  .r-stat-l {font-size:12px}
  .r-work-name,.r-xp-role {font-size:23px;font-weight:700;line-height:1.3}
  .r-work-desc {font-size:14px;line-height:1.75}
  .r-work-sub {font-size:12px;font-weight:400}
  .r-work-body {padding:23px 24px 24px;gap:12px}
  .r-xp-desc {font-size:15px;line-height:1.8}
  .r-skill-title {font-size:19px;font-weight:700}
  .r-foot-name {font-size:clamp(44px,6vw,80px);letter-spacing:-.05em}
  .r-btn.primary {background:var(--signal);color:#212121}
  .r-btn.primary:hover {background:var(--accent-fill-hover);color:#212121}
  .r-nav-dl,.dd-item {font-family:var(--font-display)}
  .r-nav-dl {background:var(--signal);color:#212121}
  .r-nav-dl:hover {background:var(--accent-fill-hover)}
  .r-side .r-brand {white-space:nowrap;flex-shrink:0}

  /* Case-study framing uses the portfolio identity; screenshots stay native. */
  html[data-portfolio-case] h1,
  html[data-portfolio-case][data-lang="zh"] h1 {
    font-size:clamp(44px,5.3vw,76px);font-weight:700;line-height:1.12;letter-spacing:-.045em;
  }
  html[data-portfolio-case][data-lang="zh"] h1 {line-height:1.25;letter-spacing:-.035em}
  html[data-portfolio-case] h2 {
    font-size:clamp(34px,3.7vw,52px);font-weight:700;line-height:1.2;letter-spacing:-.04em;
  }
  html[data-portfolio-case][data-lang="zh"] h2 {line-height:1.3}
  html[data-portfolio-case] h3 {font-weight:650}
  html[data-portfolio-case] .hero-intro {font-size:17px;line-height:1.85}
  html[data-portfolio-case] .eyebrow,
  html[data-portfolio-case] .kicker {font-family:var(--font-display);font-size:11px;letter-spacing:.12em}
  html[data-portfolio-case] small,
  html[data-portfolio-case] .chapter-no {font-family:var(--font-display)}
  html[data-portfolio-case] .chapter-no,
  html[data-portfolio-case] .number {color:var(--accent);font-weight:500}
  html[data-portfolio-case] .nav {background:var(--bg)}
  html[data-portfolio-case] button:focus-visible,
  html[data-portfolio-case] a:focus-visible,
  html[data-portfolio-case] summary:focus-visible {outline-color:var(--accent)}
  html[data-portfolio-case="anyway"] .eyebrow i {background:var(--signal);border:0}
  html[data-portfolio-case="anyway"] .agent .journey-name small {color:var(--signal)}
  html[data-portfolio-case="anyway"] .journey-steps>a:hover {border-color:var(--signal)}
  html[data-portfolio-case="anyway"] .lead {font-size:16px}
  html[data-portfolio-case="anyway"] .two-col p,
  html[data-portfolio-case="anyway"] .record-copy>p,
  html[data-portfolio-case="anyway"] .system-item p,
  html[data-portfolio-case="anyway"] .outcome-grid p {font-size:14px}
  html[data-portfolio-case="masso"] .green {color:var(--ink)}
  html[data-portfolio-case="masso"] .brand img {background:#151916;border-radius:7px;padding:4px}
  html[data-portfolio-case="masso"] .template-band {background:var(--well)}
  html[data-portfolio-case="masso"] .watch-story {background:var(--well);color:var(--ink)}
  html[data-portfolio-case="masso"] .watch-story .kicker,
  html[data-portfolio-case="masso"] .watch-story p,
  html[data-portfolio-case="masso"] .watch-story figcaption {color:var(--muted)}
  html[data-portfolio-case="masso"] .hero-watch span {color:#B7BEB6}
  html[data-portfolio-case="masso"] .phone .shot {box-shadow:0 18px 40px #21212118}
  html[data-portfolio-case="masso"] .body-notes p,
  html[data-portfolio-case="masso"] .recovery-panel p,
  html[data-portfolio-case="masso"] .template-band p,
  html[data-portfolio-case="masso"] .selection-layout p,
  html[data-portfolio-case="masso"] .training-copy p,
  html[data-portfolio-case="masso"] .watch-story p,
  html[data-portfolio-case="masso"] .editorial-grid p {font-size:14px}
  @media(max-width:620px) {
    .r-side {padding-left:18px;padding-right:18px}
    .r-side-foot {margin-left:auto;gap:7px}
    .r-segs {gap:5px}
    .r-seg button {padding-left:9px;padding-right:9px}
    .r-seg button.r-seg-ic {width:26px}
    .r-nav-dl {padding-left:12px;padding-right:12px;gap:5px}
    .r-dial-pointer {width:8px;left:-13px}
    .r-role-frame {font-size:16px}
    .r-stat-n {font-size:43px}
    .r-h2 {font-size:36px}
    .r-work-name,.r-xp-role {font-size:21px}
    .r-role-dial .r-chip {font-size:11px}
    html[data-portfolio-case] .hero h1 {font-size:42px}
    html[data-portfolio-case] h2,html[data-portfolio-case] .context h2 {font-size:32px}
    html[data-portfolio-case] .hero-intro {font-size:15px}
  }
}

/* Interface arrows are vectors, independent of platform emoji fonts. */
.ui-arrow{display:inline-block;width:1em;height:1em;flex-shrink:0;vertical-align:-.125em;margin-inline:.15em}
.r-hero-actions>.r-btn>.r-li,.r-hero-contact>.r-li{width:18px;height:18px}
.r-nav-dl .care{display:inline-flex;align-items:center}
.r-nav-dl .care .r-li{width:12px;height:12px}
.mobile-chapters-grip{display:inline-flex;align-items:center}
.mobile-chapters-grip .ui-arrow{width:15px;height:15px;margin:0}
.zoom-hint .ui-arrow{width:16px;height:16px;margin:0}
