
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body { margin: 0; background: var(--surface-page); color: var(--text-body);
    font-family: var(--font-sans); font-size: var(--text-base); line-height: var(--leading-normal);
    -webkit-font-smoothing: antialiased; overflow-x: hidden; }
  img { max-width: 100%; display: block; }
  a { color: var(--text-link); text-decoration: none; }
  a:hover { color: var(--text-link-hover); }
  h1,h2,h3,h4 { font-family: var(--font-display); color: var(--text-strong); margin: 0;
    letter-spacing: var(--tracking-tight); text-wrap: balance; }
  p { margin: 0; text-wrap: pretty; }
  ::selection { background: var(--gold-200); color: var(--ink-950); }
  :focus-visible { outline: none; box-shadow: var(--ring, 0 0 0 3px rgba(244,181,43,.55)); border-radius: 6px; }
  .chp-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out, cubic-bezier(.16,1,.3,1)), transform .7s var(--ease-out, cubic-bezier(.16,1,.3,1)); }
  .chp-reveal.is-in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .chp-reveal { opacity: 1 !important; transform: none !important; transition: none !important; } html { scroll-behavior: auto; } }
  @keyframes chpFade { from { opacity: 0 } to { opacity: 1 } }
  @keyframes chpSlideDown { from { opacity: 0; transform: translateY(-8px) } to { opacity: 1; transform: none } }
  @keyframes chpKen { from { transform: scale(1.08) } to { transform: scale(1) } }
  @keyframes chpFloat { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-22px) } }
  @keyframes chpBob { 0%,100% { transform: translateY(0) } 50% { transform: translateY(9px) } }
  @keyframes chpRotIn { 0% { opacity: 0; transform: translateY(18px) } 12%,88% { opacity: 1; transform: none } 100% { opacity: 0; transform: translateY(-18px) } }
  @keyframes chpMarquee { from { transform: translateX(0) } to { transform: translateX(-50%) } }
  .chp-rotwrap { display: inline-grid; }
  .chp-rotwrap > span { grid-area: 1 / 1; opacity: 0; animation: chpRotIn 9s linear infinite; }
  .chp-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .chp-marquee-track { display: flex; gap: 14px; width: max-content; animation: chpMarquee 46s linear infinite; }
  .chp-marquee:hover .chp-marquee-track { animation-play-state: paused; }
  .chp-tline-fill { transform: scaleY(0); transform-origin: top; transition: transform 1.1s var(--ease-out, ease); }
  .chp-tline-fill.is-in { transform: scaleY(1); }
  .chp-tl { position: relative; }
  .chp-tl-spine { position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: var(--green-100); }
  .chp-tl-fill { position: absolute; left: 20px; top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--green-600), var(--gold-500)); }
  .chp-tl-row { position: relative; display: grid; grid-template-columns: 1fr; padding-left: 56px; margin-bottom: 26px; }
  .chp-tl-dot { position: absolute; left: 12px; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--green-600); border: 3px solid var(--surface-card); box-shadow: 0 0 0 3px var(--green-100); }
  @media (min-width: 780px) {
    .chp-tl-spine, .chp-tl-fill { left: 50%; transform: translateX(-50%); }
    .chp-tl-fill { transform: translateX(-50%) scaleY(0); transform-origin: top; }
    .chp-tl-fill.is-in { transform: translateX(-50%) scaleY(1); }
    .chp-tl-row { grid-template-columns: 1fr 1fr; padding-left: 0; gap: 48px; margin-bottom: 8px; }
    .chp-tl-row .chp-tl-card { grid-column: 1; text-align: right; padding-right: 12px; }
    .chp-tl-row.right .chp-tl-card { grid-column: 2; text-align: left; padding-right: 0; padding-left: 12px; }
    .chp-tl-dot { left: 50%; transform: translateX(-50%); }
  }
  @media (prefers-reduced-motion: reduce) {
    .chp-rotwrap > span, .chp-marquee-track { animation: none !important; }
    .chp-rotwrap > span:first-child { opacity: 1 !important; }
    .chp-tline-fill { transform: scaleY(1) !important; transition: none !important; }
  }
  @media (max-width: 1080px) {
    .chp-desktop-nav { display: none !important; }
    .chp-burger { display: flex !important; }
  }
  @media (min-width: 900px) {
    .chp-detail-grid { grid-template-columns: 1fr 340px !important; }
  }
  .chp-navitem { position: relative; }
  .chp-dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 240px; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease-out,ease), transform .18s var(--ease-out,ease), visibility .18s; z-index: 60; }
  .chp-navitem::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
  .chp-navitem:hover .chp-dropdown, .chp-navitem:focus-within .chp-dropdown { opacity: 1; visibility: visible; transform: none; }
  .chp-navitem:hover .chp-caret, .chp-navitem:focus-within .chp-caret { transform: rotate(180deg); }
  .chp-ddlink { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: var(--text-body); text-decoration: none; cursor: pointer; transition: background .15s; }
  .chp-ddlink:hover { background: var(--green-50); color: var(--text-brand); }
  .chp-masonry { column-count: 3; column-gap: 16px; }
  @media (max-width: 900px) { .chp-masonry { column-count: 2; } }
  @media (max-width: 560px) { .chp-masonry { column-count: 1; } }
  .chp-gitem img { transition: transform .4s var(--ease-out,ease); }
  .chp-gitem:hover img { transform: scale(1.05); }
  .chp-gitem .chp-gcap { opacity: 0; transition: opacity .3s; }
  .chp-gitem:hover .chp-gcap, .chp-gitem:focus-visible .chp-gcap { opacity: 1; }
  .chp-projcard image-slot img, .chp-projcard img { transition: transform .5s var(--ease-out, ease); }
  .chp-projcard:hover image-slot img, .chp-projcard:hover img { transform: scale(1.07); }
  .chp-projcard .chp-meta-reveal { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s var(--ease-out,ease), opacity .3s, margin-top .4s; margin-top: 0; }
  .chp-projcard:hover .chp-meta-reveal, .chp-projcard:focus-within .chp-meta-reveal { max-height: 60px; opacity: 1; margin-top: 14px; }
  @keyframes chpPulse { 0% { box-shadow: 0 0 0 0 rgba(234,164,19,.6) } 70% { box-shadow: 0 0 0 7px rgba(234,164,19,0) } 100% { box-shadow: 0 0 0 0 rgba(234,164,19,0) } }
  .chp-pulse-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: chpPulse 2s ease-out infinite; }
  @media (prefers-reduced-motion: reduce) { .chp-pulse-dot { animation: none; } .chp-projcard:hover image-slot img, .chp-projcard:hover img { transform: none; } }
  .chp-footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px 32px; padding-bottom: 40px; align-items: start; }
  @media (min-width: 640px) { .chp-footer-grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 960px) { .chp-footer-grid { grid-template-columns: 1.6fr repeat(5, 1fr); } }
