@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Kalam:wght@400;700&family=Oswald:wght@700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'DM Sans Local';
  src: url('/fonts/dmsans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f7f4;
  --ink: #191713;
  --blue: #2b52c8;
  --yellow: #f4ca47;
  --muted: #56534d;
  --line: #d8d3c8;
  --accent: #a4311c;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --headline: 'DM Sans Local', 'Space Grotesk', system-ui, sans-serif;
  --mono: 'DM Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font: 400 1rem/1.6 var(--display);
  color: var(--ink);
  background: repeating-linear-gradient(var(--paper) 0 24px, #e1e1dd 25px, var(--paper) 26px);
}

h1, h2, h3, p, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--headline); line-height: 1.04; text-wrap: balance; }
p, li { text-wrap: pretty; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
[id] { scroll-margin-top: 6rem; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.shell { width: min(100% - 3rem, 75rem); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 3;
  top: 1rem;
  left: 1rem;
  padding: .5rem 1rem;
  background: var(--paper);
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  z-index: 2;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.header-inner, .footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.header-inner { min-height: 2.8rem; }
.wordmark { display: inline-flex; gap: .65rem; align-items: center; font-family: var(--headline); font-weight: 700; }
.wordmark span { color: var(--paper); background: var(--ink); padding: .1rem .46rem; font: 500 .9rem/1.8 var(--mono); }

nav { display: flex; align-items: center; gap: clamp(.2rem, 1.1vw, 1rem); }
nav a, .wordmark, .button, .project-link, .footer-inner a { text-decoration: none; }
nav a { padding: .35rem; font: 600 clamp(.61rem, 1.4vw, .8rem)/1.4 var(--headline); letter-spacing: .035em; text-transform: uppercase; }
nav .nav-home { background: var(--yellow); }
nav a:hover, .footer-inner a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: .25em; }

/* Notebook cover and handwritten introduction */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(14rem, .65fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.8rem) clamp(4.5rem, 8vw, 7rem);
  text-align: center;
}
.hero-content { min-width: 0; }

.handwritten { font: 400 1rem/1.5 Kalam, cursive; }
.hero-note { margin-bottom: .65rem; text-decoration: underline; text-underline-offset: .27em; }
.name-scene { position: relative; width: max-content; max-width: 100%; margin-inline: auto; }

.name-scene h1 {
  border: 2px solid #f16b4e;
  border-radius: 4% 2% 3% 2% / 7% 9% 5% 6%;
  padding: .11em .22em .23em;
  color: var(--ink);
  font: 700 clamp(2.35rem, 7vw, 5.8rem)/1.03 var(--headline);
  letter-spacing: -.045em;
  text-transform: uppercase;
  transform: rotate(-1.2deg);
  white-space: nowrap;
}

.sticker {
  position: absolute;
  z-index: 1;
  padding: .29rem .62rem;
  font: 500 clamp(.56rem, 1.2vw, .76rem)/1.35 var(--mono);
  white-space: nowrap;
  box-shadow: 0 2px 4px #201d1526;
}

.sticker-web { background: #a9dcc5; top: -1rem; left: -1.5rem; transform: rotate(-4deg); }
.sticker-marketing { background: #f4d36e; right: -1.5rem; bottom: -.75rem; transform: rotate(4deg); }
.eyebrow { font: 500 .75rem/1.55 var(--mono); letter-spacing: .085em; text-transform: uppercase; }
.hero-role { margin-top: 1.1rem; }
.status-dot { display: inline-block; width: .48rem; height: .48rem; margin-right: .25rem; border-radius: 50%; background: var(--blue); }
.hero-line { margin: 1.55rem auto 1rem; font: 700 clamp(1.65rem, 4.1vw, 3.65rem)/1.05 var(--headline); letter-spacing: -.06em; }
.hero-line span { color: #e43275; }

.button {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .38rem .9rem .38rem .4rem;
  color: var(--paper);
  background: var(--ink);
  font: 500 .73rem/1.4 var(--mono);
  text-transform: uppercase;
}
.button span { background: var(--blue); padding: .25rem .43rem; }
.button:hover { background: #35302a; }

.hero-portrait {
  position: relative;
  width: min(100%, 21rem);
  margin: 0 auto;
  padding: .55rem .55rem .85rem;
  background: #fffefa;
  box-shadow: .7rem .75rem 0 #d9d5cb;
  transform: rotate(2.5deg);
}
.hero-portrait::before,
.hero-portrait::after {
  content: '';
  position: absolute;
  z-index: 1;
  width: 4.6rem;
  height: 1.05rem;
  background: #f0d976c9;
}
.hero-portrait::before { top: -.45rem; left: -1rem; transform: rotate(-28deg); }
.hero-portrait::after { right: -1rem; bottom: 1.5rem; background: #a9d8c2c9; transform: rotate(-23deg); }
.hero-portrait img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.hero-portrait figcaption { padding-top: .55rem; font-size: .85rem; }

.about {
  position: relative;
  border-top: 1px solid var(--line);
  border-radius: 52% 45% 0 0 / 7% 6% 0 0;
  padding: clamp(3.3rem, 6vw, 5rem) 1rem clamp(3.8rem, 7vw, 6rem);
  text-align: center;
}
.about-note { position: absolute; top: 1.25rem; left: 3%; }
.about h2 { display: inline-block; padding: .48rem .72rem; border: 1px solid currentColor; background: var(--paper); transform: rotate(-1deg); }
.intro { max-width: 42ch; margin: 1.1rem auto 1.35rem; font: 400 clamp(1.08rem, 2.3vw, 1.55rem)/1.45 Kalam, cursive; }

.about-tags { display: grid; grid-template-columns: repeat(2, max-content); justify-content: center; gap: .42rem; padding: 0; margin: 0; list-style: none; }
.about-tags li { padding: .28rem .62rem; font-size: clamp(.68rem, 1.6vw, 1rem); font-weight: 700; clip-path: polygon(3% 0, 97% 1%, 100% 18%, 98% 40%, 100% 58%, 97% 78%, 100% 96%, 3% 100%, 0 85%, 3% 63%, 0 47%, 3% 23%, 0 8%); }
.about-tags li:nth-child(1) { background: var(--yellow); }
.about-tags li:nth-child(2) { background: #7ad5af; }
.about-tags li:nth-child(3) { background: #f77daa; }
.about-tags li:nth-child(4) { background: var(--blue); color: white; }

.paper-card {
  position: absolute;
  display: grid;
  gap: .45rem;
  width: clamp(5.5rem, 15vw, 11rem);
  padding: .4rem .4rem .55rem;
  background: #fff;
  box-shadow: 0 4px 10px #30291d26;
}
.paper-card::before { content: ''; position: absolute; top: .1rem; left: -.5rem; width: 2.5rem; height: .8rem; background: #b0c1edbd; transform: rotate(-33deg); }
.paper-card span { display: grid; place-items: center; aspect-ratio: 1.05; font: 700 clamp(1.9rem, 5vw, 4rem)/1 var(--display); }
.paper-card small { font: 400 .7rem/1 Kalam, cursive; }
.paper-card-dev { left: 3%; bottom: 27%; transform: rotate(-7deg); }
.paper-card-dev span { background: #dedff4; color: #243990; }
.paper-card-content { right: 3%; top: 24%; transform: rotate(6deg); }
.paper-card-content span { background: #f7dd8c; color: #42261b; }

.hero-results {
  display: grid;
  grid-template-columns: minmax(10rem, .58fr) minmax(0, 2.42fr);
  align-items: stretch;
  margin: 0 0 2.6rem;
  padding: 0;
  overflow: hidden;
  border: 1px solid #aebbd3;
  border-radius: .75rem;
  background: #eef3fd;
}
.hero-results::before { display: none; }
.hero-results .eyebrow { display: flex; align-items: center; margin: 0; padding: 1.15rem 1.25rem; color: #fff; background: var(--blue); }
.hero-results dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.hero-results dl > div { position: relative; padding: 1rem 1.1rem 1.15rem; border-left: 1px solid #c3cde0; }
.hero-results dl > div::before { content: ''; display: block; width: 2.2rem; height: .22rem; margin-bottom: .65rem; border-radius: 1rem; background: var(--yellow); }
.hero-results dl > div:nth-child(2)::before { background: #52ad89; }
.hero-results dl > div:nth-child(3)::before { background: #db5f8d; }
.hero-results dt { font: 700 clamp(1.35rem, 3vw, 2rem)/1.1 var(--headline); letter-spacing: -.045em; }
.hero-results dd { max-width: 22ch; margin-top: .28rem; color: #58657b; font-size: .78rem; line-height: 1.4; }

.section { border-top: 1px solid var(--line); padding-block: clamp(2.8rem, 6.8vw, 6.25rem); }
.section-heading { display: grid; grid-template-columns: 1.35fr 1fr; align-items: end; gap: .85rem 2rem; margin-bottom: 2rem; }
.section-heading h2 { margin-top: .55rem; font-size: clamp(2.35rem, 5.5vw, 5rem); letter-spacing: -.075em; }
.section-heading > p, .company, .background p, .background dd { color: var(--muted); }
.section-heading > p { max-width: 42ch; padding-bottom: .15rem; }

#work { border-top: 0; padding-top: 0; }
#work .section-heading h2 { font-family: var(--headline); font-weight: 700; }
.project-tabs { display: flex; flex-wrap: wrap; }
.project-tabs a { color: #13251f; background: #79d9b7; padding: .65rem clamp(.6rem, 2.5vw, 1.65rem); text-decoration: none; font: 500 clamp(.58rem, 1.25vw, .75rem)/1.3 var(--mono); text-transform: uppercase; clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 100%, 0 100%); }
.project-tabs a:nth-child(2) { color: #26141c; background: #f578a5; }
.project-tabs a:nth-child(3) { color: #fff; background: #3558d4; }
.project-tabs a:nth-child(4) { background: var(--ink); }
.project-tabs a:nth-child(5) { color: #211e18; background: var(--yellow); }
.project-tabs a:hover { text-decoration: underline; }
.projects { display: grid; }
.project {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  grid-template-areas: "copy preview";
  align-items: center;
  gap: 1.25rem;
  padding: clamp(1.2rem, 4.3vw, 3.25rem);
  background: #79d9b7;
  color: #13251f;
}
.project-benice { background: #1b1814; color: #f7f7f4; }
.project-xuancha { background: var(--yellow); color: #211e18; }
.project-content { background: #f578a5; color: #26141c; }
.project-hris { background: #3558d4; color: #fff; }
.project-content { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); grid-template-areas: "preview copy"; }
.project-image {
  grid-area: preview;
  position: relative;
  display: block;
  padding: .28rem;
  background: #f5f3ef;
  box-shadow: 0 .35rem .8rem #20191140;
  transform: rotate(-1.7deg);
  transition: transform 180ms ease;
}
.project-image::before { content: ''; position: absolute; top: -.16rem; left: -.35rem; width: 2.4rem; height: .7rem; background: #ffffffe0; transform: rotate(-11deg); }
.project-xuancha .project-image { transform: rotate(1.6deg); }
.project .project-image:hover { transform: rotate(0deg); }
.project-info { grid-area: copy; }
.project-info h3, .role h3, .background h3 { font-size: clamp(1.5rem, 3.5vw, 2.65rem); letter-spacing: -.055em; }
.project-info p { max-width: 34ch; margin-block: .55rem .8rem; color: inherit; }
.project-type {
  display: inline-block;
  margin-bottom: .55rem;
  padding: .25rem .42rem;
  border: 1px solid currentColor;
  border-radius: .25rem;
  font: 500 .56rem/1 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  opacity: .82;
}
.project-crm .project-type,
.project-content .project-type { background: #ffffff38; }
.project-hris .project-type { background: #ffffff18; }
.project-link { font: 500 .77rem/1.8 var(--mono); text-decoration: underline; text-underline-offset: .25em; }
.project-link:hover { text-decoration-thickness: 2px; }

.crm-mock {
  grid-area: preview;
  min-width: 0;
  font-family: var(--headline);
  padding: clamp(.65rem, 1.7vw, 1rem);
  border: 1px solid #b9c7df;
  border-radius: .85rem;
  background: radial-gradient(circle at 100% 0, #ffffff 0, transparent 32%), #eef3fa;
}
.crm-topbar, .crm-topbar > div, .crm-status { display: flex; align-items: center; }
.crm-topbar { justify-content: space-between; gap: .65rem; color: #17213a; font-size: clamp(.58rem, 1vw, .75rem); }
.crm-topbar > div, .crm-status { gap: .42rem; }
.crm-mark { display: grid; place-items: center; width: 1.55rem; aspect-ratio: 1; border-radius: .4rem; color: #fff; background: #3454d1; font: 700 .52rem/1 var(--headline); }
.crm-status { color: #59657c; font-size: .52rem; }
.crm-status i { width: .35rem; height: .35rem; border-radius: 50%; background: #10a36d; }
.crm-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .35rem; margin: .65rem 0; }
.crm-metrics > div { min-width: 0; padding: .45rem; border: 1px solid #e4e9f2; border-radius: .5rem; background: #fff; }
.crm-metrics span, .crm-metrics small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-metrics span { color: #68758c; font-size: clamp(.38rem, .72vw, .5rem); letter-spacing: .05em; text-transform: uppercase; }
.crm-metrics strong { display: block; margin: .2rem 0; color: #26375f; font: 700 clamp(.68rem, 1.3vw, .95rem)/1 var(--headline); letter-spacing: .08em; }
.crm-metrics small { color: #0b8f68; font-size: .43rem; }
.crm-chart-card, .crm-mini-card { border: 1px solid #e4e9f2; background: #fff; }
.crm-chart-card { padding: .55rem .6rem .45rem; border-radius: .55rem; }
.crm-chart-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; color: #273550; font-size: .58rem; }
.crm-chart-head span { color: #7a8497; font-size: .45rem; }
.crm-bars { display: flex; align-items: end; gap: clamp(.2rem, .7vw, .45rem); height: 7.2rem; margin-top: .55rem; padding: .25rem .2rem 0; border-bottom: 1px solid #dfe5ef; background: repeating-linear-gradient(to top, transparent 0 1.62rem, #e9edf4 1.66rem 1.7rem); }
.crm-bars i { flex: 1; min-width: 0; border-radius: .25rem .25rem 0 0; background: #4966db; }
.crm-bars i:nth-child(3n + 2) { background: #25a89a; }
.crm-bars i:nth-child(1) { height: 36%; }
.crm-bars i:nth-child(2) { height: 58%; }
.crm-bars i:nth-child(3) { height: 42%; }
.crm-bars i:nth-child(4) { height: 76%; }
.crm-bars i:nth-child(5) { height: 64%; }
.crm-bars i:nth-child(6) { height: 88%; }
.crm-bars i:nth-child(7) { height: 53%; }
.crm-bars i:nth-child(8) { height: 81%; }
.crm-bars i:nth-child(9) { height: 69%; }
.crm-bars i:nth-child(10) { height: 94%; }
.crm-bars i:nth-child(11) { height: 61%; }
.crm-bars i:nth-child(12) { height: 73%; }
.crm-months { display: grid; grid-template-columns: repeat(12, 1fr); gap: .2rem; padding-top: .25rem; color: #778296; font-size: .4rem; text-align: center; }
.crm-mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; margin-top: .45rem; }
.crm-mini-card { padding: .48rem .55rem; border-radius: .5rem; color: #44506a; font-size: .5rem; }
.crm-spark { display: flex; align-items: end; gap: .2rem; height: 2.4rem; margin-top: .35rem; border-bottom: 1px solid #e2e7ef; }
.crm-spark i { flex: 1; border-radius: .15rem .15rem 0 0; background: #8ca0ed; }
.crm-spark-b i { background: #42b7ad; }
.crm-spark-a i:nth-child(1) { height: 28%; } .crm-spark-a i:nth-child(2) { height: 62%; }
.crm-spark-a i:nth-child(3) { height: 44%; } .crm-spark-a i:nth-child(4) { height: 81%; }
.crm-spark-a i:nth-child(5) { height: 52%; } .crm-spark-a i:nth-child(6) { height: 73%; }
.crm-spark-a i:nth-child(7) { height: 39%; } .crm-spark-a i:nth-child(8) { height: 68%; }
.crm-spark-b i:nth-child(1) { height: 72%; } .crm-spark-b i:nth-child(2) { height: 41%; }
.crm-spark-b i:nth-child(3) { height: 86%; } .crm-spark-b i:nth-child(4) { height: 57%; }
.crm-spark-b i:nth-child(5) { height: 35%; } .crm-spark-b i:nth-child(6) { height: 78%; }
.crm-spark-b i:nth-child(7) { height: 49%; } .crm-spark-b i:nth-child(8) { height: 91%; }

.content-mock, .hris-mock {
  grid-area: preview;
  min-width: 0;
  font-family: var(--headline);
  padding: clamp(.65rem, 1.6vw, .95rem);
  border-radius: .85rem;
  background: radial-gradient(circle at 0 100%, #efdce344 0, transparent 34%), #f7f5f0;
}
.content-topbar, .content-filters, .content-stats, .content-table-head, .content-row,
.hris-topbar, .hris-topbar > div, .hris-welcome, .hris-metrics, .hris-days { display: flex; }
.content-topbar, .hris-topbar, .hris-welcome { align-items: center; justify-content: space-between; gap: .6rem; }
.content-topbar > div:first-child { display: grid; }
.content-topbar strong { color: #171513; font-family: var(--headline); font-size: clamp(.72rem, 1.35vw, 1rem); font-style: normal; font-weight: 700; letter-spacing: -.04em; text-transform: uppercase; }
.content-topbar small { color: #9a6452; font: 500 .42rem/1.4 var(--headline); text-transform: uppercase; }
.content-filters { align-items: center; gap: .24rem; }
.content-filters span, .content-filters b { padding: .28rem .38rem; border: 1px solid #39332f; border-radius: .28rem; color: #39332f; background: #fff; font: 500 .4rem/1 var(--headline); }
.content-filters b { color: #fff; background: #1f9a73; }
.content-stats { gap: .35rem; margin: .65rem 0; }
.content-stats > div { flex: 1; min-width: 0; padding: .55rem; border: 1px solid #28231f; border-radius: .48rem; color: #fff; background: #5144d9; }
.content-stats > div:nth-child(2) { background: #d9418b; }
.content-stats > div:nth-child(3) { color: #201d19; background: #f4d442; }
.content-stats > div:nth-child(4) { background: #18a978; }
.content-stats span { display: block; font-size: .42rem; letter-spacing: .04em; text-transform: uppercase; }
.content-stats strong { display: block; margin-top: .2rem; font: 700 clamp(.7rem, 1.4vw, 1rem)/1 var(--headline); letter-spacing: .08em; }
.content-table { overflow: hidden; border: 1px solid #3d3732; border-radius: .55rem; background: #fff; }
.content-table-head, .content-row { display: grid; grid-template-columns: 1.4fr .72fr 1fr .35fr; align-items: center; gap: .35rem; }
.content-table-head { padding: .4rem .5rem; color: #7d6d62; background: #f7f5f2; font: 500 .39rem/1 var(--headline); text-transform: uppercase; }
.content-row { padding: .5rem; border-top: 1px solid #e4dfd9; color: #5f5750; font-size: .45rem; }
.content-row strong { overflow: hidden; color: #24201d; text-overflow: ellipsis; white-space: nowrap; }
.content-row b { justify-self: end; padding: .2rem .32rem; border-radius: .2rem; color: #fff; background: #24201d; font: 500 .38rem/1 var(--headline); text-transform: uppercase; }
.content-data { padding: .3rem; border-radius: .28rem; background: #f5f4f2; font-family: var(--headline); }

.hris-mock { border: 1px solid #c7d5e2; background: radial-gradient(circle at 100% 0, #dcecff 0, transparent 32%), #f1f5f8; }
.hris-topbar { padding-bottom: .48rem; border-bottom: 1px solid #c6d1dd; color: #16284a; font-size: .65rem; }
.hris-topbar > div { gap: .38rem; }
.hris-topbar small { color: #71819c; font: 500 .4rem/1 var(--headline); text-transform: uppercase; }
.hris-logo { display: grid; place-items: center; width: 1.45rem; aspect-ratio: 1; border-radius: .38rem; color: #fff; background: #4054d9; font: 700 .46rem/1 var(--headline); }
.hris-welcome { padding: .5rem .1rem; color: #14213b; }
.hris-welcome > div { display: grid; }
.hris-welcome small { color: #70819a; font: 500 .39rem/1.4 var(--headline); text-transform: uppercase; }
.hris-welcome strong { font-size: .72rem; }
.hris-welcome > span { padding: .24rem .4rem; border-radius: .28rem; color: #fff; background: #14213b; font: 500 .4rem/1 var(--headline); text-transform: uppercase; }
.hris-metrics { gap: .32rem; margin-bottom: .4rem; }
.hris-metrics > div { flex: 1; min-width: 0; padding: .42rem; border: 1px solid #e0e7ee; border-radius: .42rem; background: #fff; }
.hris-metrics span, .hris-metrics strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hris-metrics span { color: #73829a; font-size: .38rem; text-transform: uppercase; }
.hris-metrics strong { margin-top: .18rem; color: #15264a; font: 700 .58rem/1 var(--headline); }
.hris-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: .35rem; }
.hris-layout > div { min-width: 0; padding: .48rem; border: 1px solid #d8e0e8; border-radius: .45rem; background: #fff; color: #20304c; font-size: .43rem; }
.hris-layout > div > strong { display: block; margin-bottom: .3rem; text-transform: uppercase; }
.hris-days { gap: .2rem; }
.hris-days span { flex: 1; padding: .24rem .12rem; border-radius: .25rem; text-align: center; background: #edf2f7; }
.hris-days b { display: block; margin-top: .15rem; color: #12805e; font-size: .34rem; text-transform: uppercase; }
.hris-discipline span { display: block; font-family: var(--headline); }
.hris-discipline i { display: block; width: 72%; height: .22rem; margin-top: .45rem; border-radius: 1rem; background: #e6a236; }
.hris-profile span { display: block; color: #718098; line-height: 1.7; }
.hris-kpi div { display: grid; gap: .22rem; }
.hris-kpi i { display: block; height: .2rem; border-radius: 1rem; background: #4054d9; }
.hris-kpi i:nth-child(2) { width: 78%; background: #13a775; }
.hris-kpi i:nth-child(3) { width: 64%; background: #e39b27; }

#experience .section-heading { margin-bottom: 2.4rem; }
#experience { overflow: clip; isolation: isolate; }
#experience .section-heading .eyebrow { color: var(--blue); }
#experience .section-heading h2 {
  display: inline-block;
  padding-right: .18em;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: .18em;
  text-underline-offset: -.08em;
  text-decoration-skip-ink: none;
}

.career-timeline {
  display: grid;
  gap: 2.4rem;
  padding-left: 0;
}
.career-timeline::before { display: none; }
.role {
  position: relative;
  display: grid;
  grid-template-columns: minmax(13rem, .72fr) minmax(0, 1.5fr);
  gap: 1.5rem 2.7rem;
  padding: clamp(1.35rem, 3vw, 2.2rem);
  border: 1px solid #bdb8ac;
  border-top: .3rem solid var(--blue);
  border-radius: .75rem;
  background: #fffefa;
}
.role::before { display: none; }
.role::after { display: none; }
.role-current { transform: none; }
.role-previous { border-top-color: #ef5f91; background: #f3f5eb; transform: none; }
.role-previous::before { background: #ef5f91; }
.role header { position: relative; align-self: start; }
.role header .eyebrow {
  display: inline-block;
  margin-bottom: .75rem;
  padding: .25rem .45rem;
  color: var(--ink);
  background: var(--yellow);
  transform: none;
}
.role-previous header .eyebrow { background: #b5ddca; }
.role h3 { position: relative; max-width: 14ch; }
.company { margin-top: .55rem; font: 400 1rem/1.4 Kalam, cursive; }
.role-body { min-width: 0; }
.achievement-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: achievement;
}
.achievement-list li {
  position: relative;
  padding: 0 0 .75rem 1.8rem;
  border-bottom: 1px dashed #c7c2b8;
  font-size: .93rem;
  line-height: 1.55;
  counter-increment: achievement;
}
.achievement-list li::before {
  content: counter(achievement, decimal-leading-zero);
  position: absolute;
  top: .1rem;
  left: 0;
  color: var(--blue);
  font: 500 .68rem/1.5 var(--mono);
}
.role-previous .achievement-list li::before { color: #bd2e63; }
.achievement-list strong { text-decoration: underline; text-decoration-color: #f0cc55; text-decoration-thickness: .18em; text-underline-offset: -.03em; text-decoration-skip-ink: none; }
.tag-label { margin-block: 1.3rem .55rem; font: 700 .9rem/1.4 Kalam, cursive; }
.tags { display: flex; flex-wrap: wrap; gap: .42rem; list-style: none; padding: 0; margin: 0; }
.tags li { padding: .25rem .5rem; border: 1px solid #aaa59a; border-radius: .12rem; background: #fffefa; font-size: .84rem; }
.system-tags li { padding: 0; }
.system-tags .tag-static, .system-tags a { display: block; padding: .25rem .5rem; }
.system-tags a { color: #17358e; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.system-tags a:hover { color: #fff; background: var(--blue); }

#skills .section-heading .eyebrow { color: var(--blue); }
#skills { overflow: clip; isolation: isolate; }
#skills .section-heading h2 {
  display: inline-block;
  text-decoration: underline;
  text-decoration-color: #ef6e9d;
  text-decoration-thickness: .17em;
  text-underline-offset: -.07em;
  text-decoration-skip-ink: none;
}
.skills-grid {
  display: grid;
  gap: 2.75rem;
  padding: 1.35rem .65rem 2rem;
}
.skill-group {
  position: relative;
  display: grid;
  grid-template-columns: minmax(12rem, .62fr) minmax(0, 1.38fr);
  gap: clamp(1.2rem, 4vw, 3.5rem);
  width: 94%;
  padding: clamp(1.45rem, 3.5vw, 2.5rem);
  border: 1px solid #918c82;
  border-radius: .7rem;
}
.skill-group::before {
  content: '';
  position: absolute;
  top: -1.15rem;
  width: clamp(7.5rem, 20vw, 12rem);
  height: 1.2rem;
  border: 1px solid #918c82;
  border-bottom: 0;
  border-radius: .45rem .45rem 0 0;
  background: inherit;
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}
.skill-development {
  z-index: 3;
  margin-left: 0;
  color: #f7f7f4;
  background: #1c1915;
}
.skill-development::before { left: 0; }
.skill-marketing {
  z-index: 2;
  width: 92%;
  margin-left: 5%;
  background: #f4cf57;
}
.skill-marketing::before { right: 0; transform: scaleX(-1); }
.skill-analysis {
  z-index: 1;
  margin-left: 1.5%;
  background: #a9d8c2;
}
.skill-analysis::before { left: 18%; }
.skill-group header {
  display: grid;
  align-self: start;
  align-items: start;
}
.skill-group .eyebrow { margin-bottom: .5rem; color: #8fb1ff; }
.skill-marketing .eyebrow { color: #8c214a; }
.skill-analysis .eyebrow { color: #165f43; }
.skill-group h3 { max-width: 12ch; font-size: clamp(1.8rem, 4.2vw, 3.3rem); letter-spacing: -.065em; }
.skill-content { min-width: 0; }
.skill-summary { max-width: 48ch; margin: 0 0 1.1rem; color: inherit; font: 400 clamp(.95rem, 1.8vw, 1.12rem)/1.45 Kalam, cursive; }
.skill-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.skill-list li {
  position: relative;
  padding: .55rem .45rem .55rem 1.35rem;
  border-bottom: 1px dashed currentColor;
  font-size: .88rem;
  line-height: 1.35;
}
.skill-list li::before {
  content: '✦';
  position: absolute;
  left: .18rem;
  color: currentColor;
}
.skill-development .skill-list li { border-color: #f7f7f452; }
.skill-marketing .skill-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.skill-analysis .skill-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { min-height: 5rem; font-size: .9rem; color: var(--muted); }

@media (max-width: 760px) {
  .hero, .section-heading, .role { grid-template-columns: 1fr; }
  .project, .project-content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "copy" "preview";
    gap: 1rem;
  }
  .crm-mock, .content-mock, .hris-mock { width: 100%; min-width: 0; }
  .project-tabs a { flex: 1 1 auto; text-align: center; }
  .crm-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crm-metrics > div:nth-child(4), .crm-metrics > div:nth-child(5) { grid-column: span 1; }
  .sticker-web { right: auto; left: 0; top: -1.25rem; }
  .sticker-marketing { left: auto; right: 0; bottom: -.95rem; }
  .hero-portrait { width: min(78vw, 19rem); margin-top: .75rem; transform: rotate(1.5deg); }
  .paper-card { display: none; }
  .hero-results dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  #experience .section-heading { margin-bottom: 1.55rem; }
  .career-timeline { gap: 1.7rem; padding-left: 0; }
  .role { gap: 1rem; padding: 1.25rem; transform: none; }
  .role header { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 1rem; align-items: start; }
  .role header .eyebrow { grid-column: 1; margin-bottom: .55rem; justify-self: start; }
  .role h3 { grid-column: 1; max-width: none; }
  .role .company { grid-column: 2; grid-row: 1 / span 2; align-self: center; margin-top: 0; text-align: right; }
  .achievement-list { gap: .6rem 1rem; }
  .tag-label { margin-top: 1rem; }
  .skills-grid { gap: 2.4rem; padding-inline: .35rem; }
  .skill-group {
    width: 100%;
    margin-left: 0;
    grid-template-columns: 1fr;
    gap: .8rem;
    transform: none;
  }
  .skill-group h3 { max-width: none; }
  .skill-summary { max-width: 58ch; margin-bottom: .65rem; }
  .skill-development .skill-list,
  .skill-marketing .skill-list,
  .skill-analysis .skill-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .shell { width: calc(100% - 1rem); }
  .section { padding-block: 2.25rem; }
  .section-heading { gap: .55rem; margin-bottom: 1.45rem; }
  .header-inner { align-items: start; flex-direction: column; gap: .5rem; padding-block: .65rem; }
  .header-inner nav { flex-wrap: wrap; }
  .header-inner nav a { font-size: .66rem; }
  .hero { padding-top: 3.3rem; }
  .name-scene h1 { font-size: clamp(2.3rem, 14vw, 4.2rem); }
  #skills { padding-block: 1.65rem 1.9rem; }
  #skills .section-heading { gap: .4rem; margin-bottom: .9rem; }
  #skills .section-heading h2 { margin-top: .25rem; font-size: clamp(2.2rem, 11vw, 3rem); }
  #skills .section-heading > p { max-width: 34ch; padding: 0; font-size: .88rem; line-height: 1.45; }
  .skills-grid { gap: 1.55rem; padding: .7rem 0 .45rem; }
  .skill-group {
    width: 100%;
    grid-template-columns: 1fr;
    gap: .55rem;
    padding: .8rem .72rem .9rem;
    border-radius: .55rem;
  }
  .skill-group::before { top: -.72rem; width: 6.5rem; height: .75rem; }
  .skill-group .eyebrow { margin-bottom: .28rem; font-size: .65rem; }
  .skill-group h3 { max-width: none; font-size: clamp(1.55rem, 8vw, 2rem); letter-spacing: -.05em; }
  .skill-summary { margin-bottom: .45rem; font-size: .9rem; line-height: 1.38; }
  .skill-marketing, .skill-analysis { margin: 0; }
  .skill-list,
  .skill-marketing .skill-list,
  .skill-analysis .skill-list { grid-template-columns: 1fr; }
  .skill-list { gap: 0; }
  .skill-list li { padding: .4rem .15rem .4rem 1.12rem; font-size: .82rem; line-height: 1.28; }
  .skill-list li::before { left: .12rem; }
  .project, .project-content { padding: 1rem .72rem 1.3rem; }
  .project-tabs { gap: .2rem 0; }
  .project-tabs a { min-width: 48%; padding: .55rem .5rem; clip-path: none; border-radius: .38rem; }
  .crm-mock, .content-mock, .hris-mock { padding: .5rem; border-radius: .65rem; transform: none; }
  .crm-topbar { font-size: .62rem; }
  .crm-status { font-size: .46rem; }
  .crm-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .28rem; margin: .5rem 0; }
  .crm-metrics > div { padding: .4rem; }
  .crm-metrics > div:last-child { grid-column: 1 / -1; }
  .crm-metrics span { font-size: .42rem; }
  .crm-metrics strong { font-size: .72rem; }
  .crm-chart-head { align-items: flex-start; flex-direction: column; gap: .12rem; }
  .crm-bars { height: 5.4rem; gap: .18rem; }
  .crm-mini-grid { grid-template-columns: 1fr; }
  .crm-spark { height: 2rem; }
  .content-topbar { align-items: flex-start; }
  .content-filters span:nth-child(2), .content-filters span:nth-child(3) { display: none; }
  .content-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-table-head, .content-row { grid-template-columns: 1.2fr .75fr .35fr; }
  .content-table-head span:nth-child(3), .content-row .content-data { display: none; }
  .content-row { min-height: 2.25rem; }
  .hris-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hris-metrics > div:last-child { grid-column: 1 / -1; }
  .hris-layout { grid-template-columns: 1fr; }
  .hris-welcome > span { font-size: .34rem; }
  #experience { padding-block: 1.8rem 2.1rem; }
  #experience .section-heading { gap: .4rem; margin-bottom: 1rem; }
  #experience .section-heading h2 { margin-top: .25rem; font-size: clamp(2.15rem, 11vw, 3rem); }
  #experience .section-heading > p { max-width: 35ch; padding: 0; font-size: .88rem; line-height: 1.45; }
  .hero-results { grid-template-columns: 1fr; margin-bottom: 1.35rem; padding: 0; border-radius: .55rem; }
  .hero-results .eyebrow { margin: 0; padding: .72rem .8rem; font-size: .65rem; }
  .hero-results dl { grid-template-columns: 1fr; gap: 0; }
  .hero-results dl > div { padding: .62rem .8rem .72rem; border-top: 1px solid #c3cde0; border-left: 0; }
  .hero-results dl > div::before { width: 1.7rem; margin-bottom: .42rem; }
  .hero-results dt { font-size: clamp(1.25rem, 6vw, 1.65rem); }
  .hero-results dd { font-size: .76rem; line-height: 1.35; }
  .career-timeline { gap: 1.35rem; padding-left: 0; }
  .role { gap: .72rem; padding: .9rem .78rem 1rem; border-radius: .55rem; }
  .role::after { top: -.4rem; width: 3.2rem; height: .7rem; }
  .role header { grid-template-columns: 1fr; gap: 0; }
  .role header .eyebrow { grid-column: 1; margin-bottom: .42rem; padding: .18rem .38rem; font-size: .64rem; }
  .role h3 { grid-column: 1; font-size: clamp(1.55rem, 8vw, 2rem); }
  .role .company { grid-column: 1; grid-row: auto; margin-top: .28rem; font-size: .88rem; text-align: left; }
  .achievement-list { grid-template-columns: 1fr; }
  .achievement-list { gap: 0; }
  .achievement-list li { padding: .48rem 0 .5rem 1.55rem; font-size: .83rem; line-height: 1.42; }
  .achievement-list li::before { top: .5rem; font-size: .62rem; }
  .tag-label { margin-block: .8rem .4rem; font-size: .82rem; }
  .tags { gap: .32rem; }
  .tags li { padding: .2rem .42rem; font-size: .74rem; }
  .system-tags li { padding: 0; }
  .system-tags .tag-static, .system-tags a { padding: .2rem .42rem; }
}

@media (max-width: 380px) {
  .project-tabs a { min-width: 100%; }
  .content-filters, .crm-status, .hris-welcome > span { display: none; }
  .project-type { font-size: .49rem; }
  .crm-bars { height: 4.7rem; }
  .crm-months { font-size: .34rem; }
  .content-table-head, .content-row { grid-template-columns: 1fr .68fr .32fr; }
  .hris-days { gap: .12rem; }
  .hris-days span { padding-inline: .08rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
